
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
A gem to show random quotes on your rails view files
Add to your Gemfile:
gem 'random_quotes'
Or install:
$ gem install random_quotes
In your view pages simply call
<%= sample_quotes %>
Now Quotes will be changed automatically,each time you refresh the page
And that's it!
I have added more than 250 quotes with this gem, If you want to add your own quotes
create file
config/initializers/random_quotes.rb
and add your quotes
```RandomQuotes.configure.quotes = "my quote 1 ,my quote 2,my quote 3"```
Now
<%= sample_quotes %>
- will display quotes in gem
<%= my_quotes %>
- will display quotes from initializer
<%= random_quotes %>
- will display quotes in gem
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
FAQs
Unknown package
We found that random_quotes demonstrated a not healthy version release cadence and project activity because the last version was released 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
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.