Skip to content
Browse files

use negated? helper

  • Loading branch information...
1 parent 6dbc553 commit 6c0ffdca47a3d393ba5c284ca1d8abb689047d4b @defunkt committed Feb 16, 2008
View
2 adapters/ambitious_activerecord/lib/ambition/adapters/active_record/select.rb
@@ -83,7 +83,7 @@ def include?(left, right)
def nil?(column)
left = "#{owner.table_name}.#{quote_column_name column}"
- @negated ? not_equal(left, nil) : self.==(left, nil)
+ negated? ? not_equal(left, nil) : self.==(left, nil)
end
def downcase(column)

0 comments on commit 6c0ffdc

Please sign in to comment.
Something went wrong with that request. Please try again.