Displaying 1 result from an estimated 1 matches for "requestu".
Did you mean:
request
2011 Nov 18
0
Jquery dialog
...;users_message_path'',:remote=>true do
|f|
=hidden_field_tag :id,@user.login
=f.text_area ''content'',:rows => 10, :cols => 25
=f.submit ''Send''
My js.erb
$(''#dialog'').html("hello")
Problem is ajax is requestuing the action /users/send_message and not
/users/jude
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZC...