SchemaPlus / schema_associations

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

Model declarations read from db schema #1

Open andrzejkrzywda opened 13 years ago

andrzejkrzywda commented 13 years ago

Let people use models without the need to write classes declaration - as long as they don't need any additional logic. 100% DRY :)

It probably deserves a separate gem.

ronen commented 13 years ago

i agree that would be cute. and i agree it should be a spearate gem.

...imagine also a gem that provides default REST controllers and scaffold views if they aren't defined manually. You get a functioning rails app just from the schema and don't have to write any code at all. 100% DRY :)

andrzejkrzywda commented 13 years ago

Interesting and scary at the same time :)

ronen commented 13 years ago

if you're motivated to write either or both gems, feel free :) i'm not likely to get to them any time soon...