Topic: Find :conditions must be explicit?
Creating a new instance of an ActiveRecord object (potential record) seems pretty straightforward:
@bird = Bird.new(params[:bird])
where all of the parameters in a form are represented by the symbol :bird , which I'll assume is a sort of "representation" for a hash of those parameters. (Stop me when I start sounding like an idiot.)
Can this also be used to do a find? To wit:
@bird = Bird.find(params[:bird])
Intention here is to find any matching records from any number of fields (logical AND) but effectively ignoring any blank fields.
I guess I'm trying to get a handle on the generalities before I get more specific.