On Sat, Sep 15, 2012 at 8:57 PM, Joshua Niehus <jm.nie...@gmail.com> wrote:
> Is there some way to keep rails from trying to open a page on a route?
> Basically I just want to send an ajax query to:
> http://localhost:3000/method/multiply?num1=3&num2=4
>
> while staying on http://localhost:3000/index

See:  http://guides.rubyonrails.org/layouts_and_rendering.html

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to