schema_associations 0.1.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:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (1):
schema_plus
>= 0