Im using a lot of RJS in the application i am developing.
I was hoping to get some inputs about some best practices when using
when doing very simple things like, shaking an empty field when
i just do it in the controller.
render :update do |page|
page.visual_effect :shake, “link_asset_link_url”
page.visual_effect :highlight, “link_asset_link_url”
and when doing more stuff, i put it in an rjs file.
Is the first one a no no? Since im not doing it the MVC way?
May i know some of your opinions here?