RubyGems Navigation menu

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

instalar:
=

Versões:

  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)
  6. 0.1.2 - August 03, 2011 (15,5 KB)
Mostrar todas as versões (19)

Runtime Dependencies (1):

Development Dependencies (6):

rake ~> 0.8.7
rspec >= 0
simplecov >= 0
sqlite3 >= 0

Donos:

Autores:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

73b8105e8ffb678d0fd5e81a6aa5754cdc96a956c1fe13b8ff8e95ef96c240a9

Total de downloads 56.193

Desta versão 3.585

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: