I am using this function below which updates a div element with a
partial in an ajax call.
def publish
render :update do |page|
page.replace_html 'my_div', :partial => 'my_partial'
end
end
Does this approach breaks the MVC separation. If Yes, how can we avoid
it?
Thanks
Deepak Kumar
INDIA
--
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.