Hi,
please can anyone help me with this code....when i am executing the
following code, i am getting the error.

code:
@animals=Bird.find(:all,:conditions =>['state like?', '%' +
params[:number]+'%'])
        @[email protected](:all,:conditions =>['city like?', '%bad%'])

error:
wrong number of arguments (2 for 0..1)

please can anyone help me out.
Thanks.

-- 
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