Sha256: d82edeaf7f5f30dbf2c36de039839d2a72e422ccb436f5038f948e53c9bc513b

Contents?: true

Size: 149 Bytes

Versions: 22

Compression:

Stored size: 149 Bytes

Contents

class Acolyte
  include Mongoid::Document
  field :status
  field :name

  scope :active, where(:status => "active")

  default_scope asc(:name)
end

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
mongoid_spacial-0.2.17 spec/models/acolyte.rb
sig_mongoid_spacial-0.2.17 spec/models/acolyte.rb
cb_mongoid_spacial-0.2.16 spec/models/acolyte.rb
mongoid_geospatial-1.0.0 spec/models/acolyte.rb
mongoid_geospatial-1.0.0rc1 spec/models/acolyte.rb
mongoid_geospatial-1.0.0rc0 spec/models/acolyte.rb
mongoid_spacial-0.2.16 spec/models/acolyte.rb
mongoid_spacial-0.2.13 spec/models/acolyte.rb
mongoid_spacial-0.2.12 spec/models/acolyte.rb
mongoid_spacial-0.2.11 spec/models/acolyte.rb
mongoid_spacial-0.2.10 spec/models/acolyte.rb
mongoid_spacial-0.2.8 spec/models/acolyte.rb
mongoid_spacial-0.2.7 spec/models/acolyte.rb
mongoid_spacial-0.2.6 spec/models/acolyte.rb
mongoid_spacial-0.2.5 spec/models/acolyte.rb
mongoid_spacial-0.2.4 spec/models/acolyte.rb
mongoid_spacial-0.2.3 spec/models/acolyte.rb
mongoid_spacial-0.2.2 spec/models/acolyte.rb
mongoid_spacial-0.2.0 spec/models/acolyte.rb
mongoid_spacial-0.1.1 spec/models/acolyte.rb