
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.
Rails engine for running migrations via browser.
Add this line to your application's Gemfile:
gem 'migration_button', github: 'asok/migration_button'
And then execute:
$ bundle
Set :migration_button
in config/environments/development.rb
like so:
config.active_record.migration_error = :migration_button
Now if there are pending migrations you will be presented with the page for running them. You can always visit this page under http://localhost:3000/__migration_button.
Clone the repo.
Install the dependencies with:
$ bundle
Run the tests with:
$ MIGRATION_BUTTON=1 bundle exec rails test test/*
Develop -> commit -> make a pull request :sunglasses:
The gem is available as open source under the terms of the MIT License.
FAQs
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.