dhampik / rails-admin-scaffold

Rails generator which allows to scaffold admin controllers, views with proper (non-namespaced) models, helpers, tests and routes
MIT License
92 stars 37 forks source link

[Feature Request] Load model attributes if it already exists #7

Open joaquinmoreira opened 9 years ago

joaquinmoreira commented 9 years ago

First of all, thanks for your effort on this gem, it's very useful.

I'll be very great to support defaulting to include all model attributes in case it already exists so avoid having to write down all attributes and types of the model upon the generator call.

joshuapaling commented 9 years ago

This gem appears to do this: https://github.com/seyhunak/twitter-bootstrap-rails, so it could be a useful reference.

dhampik commented 9 years ago

@joaquinrulin that is a good idea and thanks @joshuapaling for a helpful reference. Hopefully I'll find some time to implement it. And btw, pull requests are also appreciated :wink: