SchemaPlus / schema_associations

ActiveRecord extension that automatically (DRY) creates associations based on the schema
Other
46 stars 8 forks source link

schema_associations method should imply :auto_create => true #3

Closed ronen closed 13 years ago

ronen commented 13 years ago

unless :auto_create => ... is explicitly passed.

this would allow idiom of global auto_create = false and then choose models to auto-create associations via:

class MyModel < AR::Base schema_associations end