Emilio Tagua
Member of 1 project: Ruby on Rails
Emilio Tagua's latest activity
Wednesday, March 31 2010
-
Emilio Tagua commented at 1:45 PMJason,
You could try something like this:
Post.includes(:comments).where(Comment.arel_table[:title].eq("Welcome ..."))
Saturday, March 27 2010
-
- State changed from new to invalid
Hey Jason,
This 2 queries is the expected behavior, you would get one query with an OUTER JOIN if any restriction includes a reference in conditions, order, etc...
Friday, March 26 2010
Tuesday, March 23 2010
-
Emilio Tagua created the ticket at 3:27 PMThis method was removed in favor of using arel_attributes_values method.
Monday, March 22 2010
-
Emilio Tagua created the ticket at 6:46 PMThis patch addresses 2 issues:
- From and lock should be defined to be consistent with other ivars definition.
- Limit and offset are always defined, no need to te...
-
Emilio Tagua commented at 1:27 PMHey Jason,
Can you provide a failing test or something more specific, because i tried this on master:
Post.joins(:comments).includes(:comments).all
and you get ...
Friday, March 12 2010
-
- State changed from new to invalid
This is fixed in master, feel to re-open it if you can reproduce the problem.
-
- State changed from new to resolved
This was a problem in Arel release not including having, this issue is already solved.
Wednesday, March 10 2010
-
Emilio Tagua commented at 9:24 PMI modified Arel so it doesn't raise an exception if table/columns doesn't exists:
http://github.com/rails/arel/commit/b706f690b611d647aae15a85caa19d1...
A patc...