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.
gnuside-mongoid_migration
Advanced tools
= MongoidMigration
ActiveRecord::Migration ported to Mongoid to run incremental/reversible migrations to manipulate/populate data in the database.
== Rails 3.x
insert this line to Gemfile:
gem "mongoid_migration", "~> 0.0.3"
== Rails Generator
Run the generator to generate timestamped migration files:
rails generate mongoid_migration Thing
which generates a timestamped migration file: mongodb/migrate/20111114234935_thing.rb similar to AR.
The migration has 2 class methods defined, self.up - executed when migrating up and self.down - executed when migrating down. Obviously ActiveRecord::ConnectionAdapters::SchemaStatements methods have not been ported over, so don't attempt to use them. (they make no sense for mongodb anyways)
== The following rake tasks are available:
== Contributing to MongoidMigration
This is the fork of ActiveRecord::Migrations ported to work with mongoid. All thanks should go to the Rails team.
FAQs
Unknown package
We found that gnuside-mongoid_migration demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.