I have 2 controllers foo, bar and I'm using searchlogic gem to search
products inside both controllers. All works great but I want to
implement now custom form_for from foo view to search products for bar
controllers, how to do this ?

I try something like this:

<% form_for @search, :url => {:controller => "bar", :action => "index"}
do |f| %>

but its not work  :/, pls help
-- 
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 [email protected].
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.

Reply via email to