RubyGems Navigation menu

schema_associations 1.2.1

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)
  6. 1.2.1 - July 18, 2014 (18.5 KB)
显示所有版本 (共 19 个)

Runtime 依赖 (1):

schema_plus >= 1.2.0

Development 依赖 (6):

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

业主:

作者:

  • Ronen Barzel, Michał Łomnicki

SHA 256 校验和:

f0e94b1716809fd36c851f5550befcefe244a8a5c54d37df814775a105c5364e

下载总量 55,813

这个版本 2,266

许可:

需要的 Ruby 版本: >= 0

链接: