Re: [Rails] Re: How to use Ajax with rails ?

2012-10-30 Thread Luis Vasconcellos
http://railscasts.com/episodes?utf8=%E2%9C%93&search=ajax * Luis Va**sconcellos *|* *Web Developer at DTM wblog: luisvasconcellos.com twitter: @vasconcelloslf mobile: 55 21 95100576 http://dtmtec.com.br @dtmtec

[Rails] Re: How to use Ajax with rails ?

2012-10-29 Thread tonypm
I have just been reading this and finding it helpful background with some nice examples: http://madebydna.com/all/code/2011/12/05/ajax-in-rails-3.html On Oct 29, 10:41 am, 1334 wrote: > On Friday, October 26, 2012 5:38:20 PM UTC+2, Fahim Patel wrote: > > > Hi all, > > >    Can any one tell me h

[Rails] Re: How to use Ajax with rails ?

2012-10-29 Thread 张成栋
when you use link_to or button_to tag, be sure the trigger remote setted to true, like <%=linke_to "Button", contrl_path, remote: true%>. then you should write a template contrl_action.js.erb in that view folder and name same as the action, that will be your ajax scriptting template for that ver

[Rails] Re: How to use Ajax with rails ?

2012-10-29 Thread 1334
On Friday, October 26, 2012 5:38:20 PM UTC+2, 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 > it's still in edgeguides but it's a nice intro written by @steveklabni

Re: [Rails] Re: how to use Ajax

2012-09-25 Thread Hassan Schroeder
On Tue, Sep 25, 2012 at 8:07 AM, Fahim Patel wrote: > is any one know this Stop. This is basic JavaScript/AJAX stuff, and has little to nothing to do with Rails. Find a tutorial on JS/AJAX and learn how it works. Then come back here if you have a specific problem integrating it with your Rails c

[Rails] Re: how to use Ajax

2012-09-25 Thread Fahim Patel
is any one know this On Tuesday, September 25, 2012 7:37:46 PM UTC+5:30, Fahim Patel wrote: > > code : > > Area > <%= f.select :area_id, Area.all.collect {|p| [ p.name, p.id ] }, > :class=>"small" %> > Milk Mans > <%= f.select :milkman_id, Milkman.all.collect {|p| [ p.name, p.id ] }, > :class=>