Closed joshuapaling closed 10 years ago
I'd be in favour of making minimal controllers, as rails generators currently do, and for users who want flash messages, recommend using https://github.com/plataformatec/responders, rather than maintaining flash messages in this gem.
What do you think?
Ah - I've realised that rails has both a scaffold_controller
and a responders_controller
, so I guess this gem intentionally implements the first one - and in this issue I've been referring to the second.
Are you interested in using the more concise
respond_with
rather thanrespond_to
?An example of each:
This is code generated using the rails-admin-scaffold gem:
And this is code generated by the default rails generators:
If you're interested in using
respond_with
I'll try find the time to submit a PR.