
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
ActionLink is a Ruby gem that provides intuitive ViewComponents for CRUD resource link actions in Rails. It simplifies the process of creating common action links (show, edit, delete, etc.) with associated icons.
Here's an example of how to use the ActionLink
gem in a Rails view:
# In Rails view
= render ActionLink::Show.new(url: [:admin, @post], current_user: current_user)
Here are some more examples of how to use the ActionLink
gem in a Rails view:
# In Rails view
= render ActionLink::Edit.new(url: [:edit, @post], current_user: current_user)
= render ActionLink::Destroy.new(url: [:destroy, @post], current_user: current_user)
= render ActionLink::New.new(url: [:new, @post], current_user: current_user)
To install the ActionLink
gem, add it to your application's Gemfile and run bundle install
:
gem 'action_link'
Alternatively, you can install the gem manually by running:
gem install action_link
To contribute to the development of the ActionLink
gem, follow these steps:
bin/setup
.rake test
.The ActionLink
gem is available as open source under the terms of the MIT License.
The icons used in this gem are taken from the incredible iconmonstr.
FAQs
Unknown package
We found that action_link 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
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.