On May 27, 5:58 am, Ravi Dtv <li...@ruby-forum.com> wrote: > Hii > > In a partial I used button_to_remote for deleting record. > > My record is deleted but message is not firing. > > <%= button_to_remote "Delete", :url => {:controller => "users" , > :action => "deletegroup", :group_name=>grouprow.group_name}, :class => > "submit_input_button rounded_corner" %> > With a button_to_remote like that you're going to have to display the message yourself - either supply an onSuccess callback or write some rjs / call an rjs template ni your respond_to block that displays a message.
Fred -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.