On Friday 26 October 2012 09:08 PM, Fahim Patel wrote:
Hi all,

   Can any one tell me how to use Ajax with Rails.
    Send me quick start up link and videos.

Thanks

Regards
Fahim Babar PAtel




--
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]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/t_GmEPrLUIMJ.
For more options, visit https://groups.google.com/groups/opt_out.


Ajax is the default functionality from rail no need of extra packages, ensure following things you have included 1)ensure rails.js in public/javascripts files if, you are using < 3.0. if, you are using >3.0 then auto metically it will includes in application.js(manifest file)
2) use :remote=> true in the link_for or form tags
ex:- <%=link_to 'Remote Link', home_path,:remote=>true%>

--
-------------Regards---------------
G SubbaRao ( Ruby Developer )
E-Mail:[email protected]
http://railsdocuments.blogspot.com
https://twitter.com/g_subbarao

--
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 https://groups.google.com/groups/opt_out.


Reply via email to