Displaying 1 result from an estimated 1 matches for "a_group_id".
2011 Sep 11
5
question about a where condition
Hey all,
This example of working code:
@a = @b.where(:a_group_id.ne => nil).collect { |b| b.a_group }
doesn''t make too much sense to me. For one, I am not sure what that
"ne" is doing there. Is this a postgresql thing? Second, it looks like
we are collecting active record objects where the a_group_id is null,
collecting them in an array an...