customink / secondbase

Seamless second database integration for Rails.
MIT License
220 stars 30 forks source link

Consider Making A Model Generator #19

Closed metaskills closed 3 months ago

metaskills commented 8 years ago

Maybe now that we have a solid way of doing generators, we can make a model generator. Maybe this would be an easy sub class too. What may be hard is that a model generator makes migration too. So how would we make sure our model generator calls our own migration generator?

justinperkins commented 6 years ago

Would really like to see this. Generating a model without the migration, then running the task to create the secondbase migration is really clunky.