RubyGems Navigation menu

schema_associations 1.2.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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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. 1.2.0 - August 14, 2013 (18 KB)
Mostrar todas las versiones (19 total)

dependencias de Runtime (1):

schema_plus >= 1.2.0

dependencias de Development (6):

rake >= 0
rdoc >= 0
rspec >= 0
simplecov >= 0
sqlite3 >= 0

Propietarios:

Autores:

  • Ronen Barzel, Michał Łomnicki

SHA 256 checksum:

aab9346b0d92ec866c6bc09b2e599dc914acf44875c6ee340e80436cf97e8082

Total de descargas 56.381

Para esta versión 6.679

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: