Sha256: af97775573a1057df61da1c7d503006c96b492280027e64fea9bf8b275b3ae3f

Contents?: true

Size: 179 Bytes

Versions: 10

Compression:

Stored size: 179 Bytes

Contents

module PrettyApi
  module ActiveRecord
    class Orm
      def self.where_not(record, attribute, values)
        record.where.not(attribute => values)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pretty-api-0.5.1 lib/pretty_api/active_record/orm.rb
pretty-api-0.5.0 lib/pretty_api/active_record/orm.rb
pretty-api-0.4.1 lib/pretty_api/active_record/orm.rb
pretty-api-0.4.0 lib/pretty_api/active_record/orm.rb
pretty-api-0.3.1 lib/pretty_api/active_record/orm.rb
pretty-api-0.3.0 lib/pretty_api/active_record/orm.rb
pretty-api-0.2.0 lib/pretty_api/active_record/orm.rb
pretty-api-0.1.2 lib/pretty_api/active_record/orm.rb
pretty-api-0.1.1 lib/pretty_api/active_record/orm.rb
pretty-api-0.1.0 lib/pretty_api/active_record/orm.rb