Sha256: 05aa9d4aa26ce59412a4c58aa9c8d28fc5d79131f6f808fc29d9edcf7447ae16

Contents?: true

Size: 156 Bytes

Versions: 3

Compression:

Stored size: 156 Bytes

Contents

class Tweet < ActiveRecord::Base
  belongs_to :user
  has_many :comments, dependent: :destroy
  has_many :pictures, dependent: :destroy, as: :imageable
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dread-0.1.0 test/dummy/app/models/tweet.rb
dread-0.0.7 test/dummy/app/models/tweet.rb
dread-0.0.6 test/dummy/app/models/tweet.rb