RubyGems Navigation menu

schema_associations 1.2.0

SchemaAssociations extends ActiveRecord to automatically create associations by inspecting the database schema. This is more more DRY than the standard behavior, for which in addition to specifying the foreign key in the migration, you must also specify complementary associations in two model files (e.g. a :belongs_to and a :has_many).

Versions:

  1. 1.2.2 - July 18, 2014 (18.5 KB)
  2. 1.2.1 - July 18, 2014 (18.5 KB)
  3. 1.2.0 - August 14, 2013 (18 KB)
  4. 1.1.0 - May 30, 2013 (18 KB)
  5. 1.0.1 - January 21, 2013 (16.5 KB)
Show all versions (12 total)

Runtime Dependencies:

Authors:

  • Ronen Barzel, Michał Łomnicki

Owners:

5ac931514fa7deadb59ed29909c233b8D969a347edb3054c711946c0ed07ce2f

Total downloads 13,752

For this version 4,041

Show all versions (12 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'schema_associations', '~> 1.2.0' = Copy to clipboard Copied!

install:
gem install schema_associations -v 1.2.0 = Copy to clipboard Copied!

Links: