Sha256: a66cf622c34cb43c233d484e9dd46d8de67213e7c13bfb5dd72523e2ae159a01

Contents?: true

Size: 218 Bytes

Versions: 16

Compression:

Stored size: 218 Bytes

Contents

case Merit.orm
when :active_record
  class Address < ActiveRecord::Base
  end
when :mongoid
  class Address
    include Mongoid::Document
    include Mongoid::Timestamps
  end
end

class Address
  belongs_to :user
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
merit-3.0.3 test/dummy/app/models/address.rb
merit-3.0.2 test/dummy/app/models/address.rb
merit-3.0.1 test/dummy/app/models/address.rb
merit-3.0.0 test/dummy/app/models/address.rb
merit-2.4.0 test/dummy/app/models/address.rb
merit-2.3.4 test/dummy/app/models/address.rb
merit-2.3.3 test/dummy/app/models/address.rb
merit-2.3.2 test/dummy/app/models/address.rb
merit-2.3.1 test/dummy/app/models/address.rb
merit-2.3.0 test/dummy/app/models/address.rb
merit-2.2.0 test/dummy/app/models/address.rb
merit-2.1.2 test/dummy/app/models/address.rb
merit-2.1.1 test/dummy/app/models/address.rb
merit-2.1.0 test/dummy/app/models/address.rb
merit-2.0.0 test/dummy/app/models/address.rb
merit-1.9.0 test/dummy/app/models/address.rb