Jason May
Not a member
Jason May's latest activity
Monday, August 30 2010
5500
arel_table.as("xxx") throws nil
was updated
in Ruby on Rails
-
-
Jason May created the ticket at 8:01 PMRails 3.0.0 general release.
Given an ActiveRecord class Foo:
Foo.arel_table.as("bar")
throws
NoMethodError: undefined method
merge' for nil:NilClassfrom ...
Tuesday, March 30 2010
-
Jason May commented at 1:31 AMHi Emilio-
I think your example should have
comments.titlein the conditions instead ofpost.title.Is it possible to express your example using Arel-style synt...
Monday, March 22 2010
4235
eager loading of associations not working in rails 3?
was updated
in Ruby on Rails
-
Jason May commented at 5:53 PMI see...
I had thought that
includes(:bar)would generate anOUTER JOINclause in the original SQL, rather than generating a secondSELECTwith anINclause, i....
Saturday, March 20 2010
Friday, March 19 2010
4235
eager loading of associations not working in rails 3?
was created
in Ruby on Rails
-
Jason May created the ticket at 6:15 PMFoo.joins(:bar).includes(:bar)does not appear to generate the correct SQL.Foo.joins(:bar).includes(:bar).to_sqlgives meSELECT "foo".* FROM "foo" INNER JOIN ...