RubyGems Navigation menu

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

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.4.0 - June 12, 2022 (20 ko)
  2. 1.3.0 - May 06, 2022 (21 ko)
  3. 1.2.7 - December 19, 2018 (20 ko)
  4. 1.2.6 - September 11, 2016 (19,5 ko)
  5. 1.2.5 - March 17, 2016 (18,5 ko)
Voir toutes les versions (19)

Dépendances de Runtime (3):

activerecord >= 5.2, < 6.1
valuable >= 0

Dépendances de Development (4):

bundler >= 0
rake ~> 13.0
rspec ~> 3.0
schema_dev ~> 4.1

Propriétaires:

Pushed by:

Auteurs:

  • Ronen Barzel, Michał Łomnicki

Total de contrôle SHA 256:

274a6a5ab3397e4bb9789ab1def64bb4d177e0c9315c82da072c1b582b580ac6

Total de téléchargements 56 098

Pour cette version 824

License:

aucune

Version de Ruby requise: >= 2.5

Liens: