RubyGems Navigation menu

schema_associations 1.2.6

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.4.0 - June 12, 2022 (20 KB)
  2. 1.3.0 - May 06, 2022 (21 KB)
  3. 1.2.7 - December 19, 2018 (20 KB)
  4. 1.2.6 - September 11, 2016 (19.5 KB)
  5. 1.2.5 - March 17, 2016 (18.5 KB)
Show all versions (19 total)

Runtime Dependencies (1):

Development Dependencies (6):

rake >= 0
rdoc >= 0
rspec >= 0
schema_dev ~> 3.6
simplecov >= 0

Owners:

Authors:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

2d7a149e15fe384333005b169edcfd6525b33f4c74b1f742dc72faab82884241

Total downloads 56,016

For this version 2,841

Licenses:

N/A

Required Ruby Version: >= 0

Links: