Sha256: 9f44c58d0983a9ffe5a55c6c17757574fb51b814b276759b4a66ca34e64b1894

Contents?: true

Size: 252 Bytes

Versions: 12

Compression:

Stored size: 252 Bytes

Contents

class Subscription
  include Dynamoid::Document
  
  field :length, :integer
  
  belongs_to :magazine
  has_and_belongs_to_many :users

  belongs_to :customer, :class_name => 'User', :inverse_of => :monthly

  has_and_belongs_to_many :camel_cases
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
dynamoid-0.6.1 spec/app/models/subscription.rb
dynamoid-0.6.0 spec/app/models/subscription.rb
adept_dynamoid-0.6.0 spec/app/models/subscription.rb
adept_dynamoid-0.5.0.8 spec/app/models/subscription.rb
adept_dynamoid-0.5.0.7 spec/app/models/subscription.rb
adept_dynamoid-0.5.0.6 spec/app/models/subscription.rb
dynamoid-0.5.0 spec/app/models/subscription.rb
dynamoid-0.4.1 spec/app/models/subscription.rb
dynamoid-0.4.0 spec/app/models/subscription.rb
dynamoid-0.3.2 spec/app/models/subscription.rb
dynamoid-0.3.1 spec/app/models/subscription.rb
dynamoid-0.3.0 spec/app/models/subscription.rb