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).
Required Ruby Version
>= 2.5
Authors
Ronen Barzel, Michał Łomnicki
Versions
-
1.4.0
-
source
- 1.4.0 source June 12, 2022 (20 KB)
-
-
1.3.0
-
source
- 1.3.0 source May 06, 2022 (21 KB)
-
-
1.2.7
-
source
- 1.2.7 source December 19, 2018 (20 KB)
-
-
1.2.6
-
source
- 1.2.6 source September 11, 2016 (19.5 KB)
-
-
1.2.5
-
source
- 1.2.5 source March 17, 2016 (18.5 KB)
-