Sha256: 6ba5d507a12501288b71104388a0a2f4d9d6b7615e13991f514d0faf81e7200b

Contents?: true

Size: 141 Bytes

Versions: 4

Compression:

Stored size: 141 Bytes

Contents

class User
  include Mongoid::Document

  field :name, :type => String
  field :email, :type => String

  has_and_belongs_to_many :books
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/user.rb
dicer-0.2.0 examples/rails-3.2-with-mongoid/app/models/user.rb
dicer-0.1.0 examples/rails-3.2-with-mongoid/app/models/user.rb
dicer-0.0.1 examples/rails-3.2-with-mongoid/app/models/user.rb