Class: Globalize::ActiveRecord::QueryMethods::WhereChain
- Inherits:
-
ActiveRecord::QueryMethods::WhereChain
- Object
- ActiveRecord::QueryMethods::WhereChain
- Globalize::ActiveRecord::QueryMethods::WhereChain
- Defined in:
- lib/globalize/active_record/query_methods.rb
Instance Method Summary collapse
Instance Method Details
#not(opts, *rest) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/globalize/active_record/query_methods.rb', line 5 def not(opts, *rest) if parsed = @scope.parse_translated_conditions(opts) @scope.join_translations.where.not(parsed, *rest) else super end end |