James Harton
Not a member
James Harton's latest activity
Monday, June 21 2010
4917
Bug with passing an Arel::Relation into an ActiveResource predicate.
was updated
in Ruby on Rails
-
-
James Harton created the ticket at 3:19 AMSuppose you have a fairly complex query that you have built using Arel, and now you want to pass it into a where predicate to get your AR models back (here is a...
Sunday, June 20 2010
4882
ActiveRelation bug; size() returning incorrect value with limit().
was updated
in Ruby on Rails
-
James Harton commented at 9:43 PMAhh right! I understand. You don't think this is a little counter-intuitive?
Thursday, June 17 2010
4882
ActiveRelation bug; size() returning incorrect value with limit().
was created
in Ruby on Rails
-
James Harton created the ticket at 1:34 AMEasiest to explain with a snippet:
Loading development environment (Rails 3.0.0.beta4) ruby-1.8.7-p249 > Post.limit(20).size => 1000 ruby-1.8.7-p249 > Post.l...