On Monday, October 8, 2012 11:02:19 AM UTC+2, Brett McHargue wrote:
You could check out http://objectsonrails.com/ and
https://github.com/objects-on-rails/display-case - as it says, it
brings together the model and context (which could be a controller)
brett
I do not know if i will be
On Monday, October 8, 2012 7:37:21 PM UTC+2, Matt Jones wrote:
On Monday, 8 October 2012 01:38:22 UTC-7, Alexey wrote:
I will answer myself: i think a decorator is not a good place to store an
associated controller, a decorator should only know about model data and
HTML markup. I am
On Monday, October 8, 2012 11:02:19 AM UTC+2, Brett McHargue wrote:
You could check out http://objectsonrails.com/ and
https://github.com/objects-on-rails/display-case - as it says, it
brings together the model and context (which could be a controller)
brett
Thanks, i'll look into it.
I will answer myself: i think a decorator is not a good place to store an
associated controller, a decorator should only know about model data and
HTML markup. I am still looking for a good solution.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails:
On Monday, 8 October 2012 01:38:22 UTC-7, Alexey wrote:
I will answer myself: i think a decorator is not a good place to store an
associated controller, a decorator should only know about model data and
HTML markup. I am still looking for a good solution.
In your example, the controller
You could check out http://objectsonrails.com/ and
https://github.com/objects-on-rails/display-case - as it says, it
brings together the model and context (which could be a controller)
brett
On Mon, Oct 8, 2012 at 9:38 AM, Alexey alexey.mura...@gmail.com wrote:
I will answer myself: i think a
6 matches
Mail list logo