Sha256: b079bb23b9775b565236cea124ff632af80e20e00760074657693dfd0b2c2281

Contents?: true

Size: 110 Bytes

Versions: 4

Compression:

Stored size: 110 Bytes

Contents

class Book
  include Mongoid::Document

  field :title, :type => String

  has_and_belongs_to_many :users
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dicer-0.3.0 examples/rails-3.2-with-mongoid/app/models/book.rb
dicer-0.2.0 examples/rails-3.2-with-mongoid/app/models/book.rb
dicer-0.1.0 examples/rails-3.2-with-mongoid/app/models/book.rb
dicer-0.0.1 examples/rails-3.2-with-mongoid/app/models/book.rb