Displaying 1 result from an estimated 1 matches for "add_user_to_favorit".
Did you mean:
add_user_to_favorites
2012 Jan 24
2
How would you do this in ajax in rails 3
...Favorites",
add_favorite_url(movie_star),:class=>"btn small primary" %>
I need to submit this to the users controller via ajax do some stuff
then set the button to say
that the favorite has been added.
Can you please tell me how you would accomplish this
I have a method
def add_user_to_favorites
end
Thank You
--
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/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-t...