RubyGems Navigation menu

schema_associations 1.2.2

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).

Gemfile
          gem 'schema_associations', '~> 1.2.2'
  
  
  
  
  
  
  

install
          gem install schema_associations
  
  
  
  
  
  
  

Total downloads 13,697

For this version 384

Show all versions (12 total)

Required Ruby Version: >= 0

Links:

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: