I use something like this to pass extra params on restful routes. Notice the extra params inside the {}.
redirect_to user_path(@user, {:params1 => 1, :params2 => 2}) Hope it helps, Elioncho On Oct 27, 2:29 am, Selva Raj <[EMAIL PROTECTED]> wrote: > Thanks James, > > But its not working, I am using redirect_to in rjs. > > If I use "update", that RJS itself not working. > > Regards > Selvaraj.S > > Mark Reginald James wrote: > > Selva Raj wrote: > > >> but one parameter itself called "amp;".also every params are available > >> twice. > > > Mmmm, try redirect_to {:action => :list}.update(params[:search]) > > > -- > > Rails Wheels - Find Plugins, List & Sell Plugins - > >http://railswheels.com > > -- > Posted viahttp://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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---