Make that :conditions rather than :condition, and you're done. Walter
On Jul 4, 2012, at 3:03 PM, sehrguey o. wrote: > Hi Walter, > > there is form_tag in the index view` > ------------- > <br /> > <div> > <%= form_tag disks_path, :method => 'get' do %> > <p> > <%= text_field_tag :search, params[:search] %> > <%= submit_tag "Search", :name => nil %> > </p> > <% end %> > > </div> > > <%= link_to 'New Disk', new_disk_path %> > -------------- > > but when I try to put it to use it raises > "ArgumentError in DisksController#index > Unknown key: condition". > I can read the message yet I don't know what to do. > > yours` > sehrguey > > -- > 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@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-US. > -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.