Sha256: e2db31817a95aaba60d759871962ba6fec5ec23b99275dcf47e54f5b7a8201e2

Contents?: true

Size: 160 Bytes

Versions: 13

Compression:

Stored size: 160 Bytes

Contents

class Body < NinjaModel::Base
  attribute :id, :integer, :primary_key => true
  attribute :post_id, :integer
  attribute :text, :string

  belongs_to :post
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ninja-model-1.0.5 spec/models/body.rb
ninja-model-1.0.4 spec/models/body.rb
ninja-model-1.0.3 spec/models/body.rb
ninja-model-1.0.2 spec/models/body.rb
ninja-model-1.0.1 spec/models/body.rb
ninja-model-1.0.0 spec/models/body.rb
ninja-model-0.9.6 spec/models/body.rb
ninja-model-0.9.5 spec/models/body.rb
ninja-model-0.9.4 spec/models/body.rb
ninja-model-0.9.3 spec/models/body.rb
ninja-model-0.9.2 spec/models/body.rb
ninja-model-0.9.1 spec/models/body.rb
ninja-model-0.9.0 spec/models/body.rb