Class: PrettyApi::ActiveRecord::Orm
- Inherits:
-
Object
- Object
- PrettyApi::ActiveRecord::Orm
- Defined in:
- lib/pretty_api/active_record/orm.rb
Class Method Summary collapse
Class Method Details
.where_not(record, attribute, values) ⇒ Object
4 5 6 |
# File 'lib/pretty_api/active_record/orm.rb', line 4 def self.where_not(record, attribute, values) record.where.not(attribute => values) end |