Hey all,

I have two models, in the first model

Model1.search(nil)

returns the metasearch builder as expected.

for the the second model, the same search(nil) returns every object in
the database (all 60k of them). This obviously isn't what I want. I
can't seem to figure out what I did to the model to get it to behave
this way, I have removed all of the code from the model itself and the
behavior is still the same.

Any tips/tricks/ideas would be very helpful.

Thank you,
Brian

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