RubyGems Navigation menu

schema_associations 1.4.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:
=

安裝:
=

版本列表:

  1. 1.4.0 June 12, 2022 (20.0 KB)
  2. 1.3.0 May 06, 2022 (21.0 KB)
  3. 1.2.7 December 19, 2018 (20.0 KB)
  4. 1.2.6 September 11, 2016 (19.5 KB)
  5. 1.2.5 March 17, 2016 (18.5 KB)
顯示所有版本(共 19)

Runtime 相依性套件 (3):

activerecord >= 5.2, < 7.1
valuable >= 0

Development 相依性套件 (4):

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

擁有者:

推送者:

作者:

  • Ronen Barzel, Michał Łomnicki

SHA 256 總和檢查碼:

=

總下載次數 57,953

這個版本 1,502

版本发布:

授權:

Ruby 版本需求: >= 2.5

相關連結: