Ruby on Rails Friday, March 30, 2012

hi,

i have a table of objects and in my controller i have a dropfiles
action. when i add

link_to 'Drop files', {:action => 'dropfiles', :id => examination} %>

it says "406 Not Acceptable"

i just want to call the action and i don't want to load another
template/view. can i do this without js/ajax?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment