
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.
h2. Introduction
This gem will help you to handle has_many :through associations when you need to add/remove these ones with checkboxes. If you think about this type of situation you do the same steps for each association you have to handle with checkboxes. I exctracted this gem from a project where I had to handle about ten associations with checkboxes.
h2. How to use it
The best way to describe throughcheckboxes is to show some code:
In your model:
class User < ActiveRecord::Base # adds your associations checkboxes_for :groups end
In your view:
<%= form_for @user do |f| %> <%= f.error_messages %> <%= f.checkboxes_for :groups %><%= f.submit %>
<% end %>
and that's all. Now, when you submit your form you get the has_many :through association updated.
h2. Roadmap
FAQs
Unknown package
We found that throughcheckboxes 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.