If you're using Rails 3, why not just do Person.where(:id => 2) ?

On Monday, June 18, 2012 11:45:45 AM UTC-10, Ruby-Forum.com User wrote:
>
> Hi, 
>
> I see that 
> Person.find(:all) and Person.find(:all, :params => {id => '2'}) returns 
> all records irrespective of conditions. Is activeresource broken? 
> PS: Im using rails 3.2.4 
>
> -- 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/XsDxi9ORjiYJ.
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.

Reply via email to