On 24 December 2010 14:29, Marnen Laibow-Koser <[email protected]> wrote:
> ivanpoval wrote in post #970446:
>> The code sample you provided is very common and many respectful Rails
>> developers use it.
>> If we go out of the scope of Rails and start speaking very strictly
>> about MVC, then probably we can say that it is not actually the
>> controller's job to do that type of things.
>
> No. It *is* the controller's job to trigger render operations. There's
> nothing un-MVC about this at all.
Is the fact that the controller is specifying that a particular div
should be updated ('my_div' in this case) a bit non-MVC?
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.