I'm pretty new to Ruby On Rails (and somewhat self-taught), so bear with
me if I'm asking something stupid. So whenever I push my download button
(which just uses send_file, if that's any help) it reloads the page,
without downloading, and it puts the authenticity_token in the url. This
all the button is:
<% form_remote_tag :url => { :action => 'download'} do %>
      <%= submit_tag "Download" %>
<% end %>

Basically, it's just not working at all, and I would appreciate any sort
of help with the issue. Thanks in advance.
-- 
Posted via http://www.ruby-forum.com/.

-- 
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.

Reply via email to