Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
trestle-resource_helpers
Advanced tools
Add helpers for Trestle resources
These instructions assume you have a working Trestle application. To integrate trestle-resource_helpers, first add it to your application's Gemfile:
gem 'trestle-resource_helpers'
Run bundle install
, and then restart your Rails server.
To add a description block within an admin resource, use the resource_description
method and define the translation key for the model:
Trestle.resource(:articles) do
resource_description
end
en:
admin:
articles:
resource_description: An article is a super dupper class to add some content to the blog!
N.B.: Replace the articles
key by the table name corresponding to the resource's model.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that trestle-resource_helpers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.