Sha256: eabc421163d39d9ef696cda752640e81ae4821842e47820758ede0aa66a9b09b

Contents?: true

Size: 158 Bytes

Versions: 8

Compression:

Stored size: 158 Bytes

Contents

class Blog < ActiveRecord::Base
  attr_accessible :title, :body, :user_id
  belongs_to :user
  has_one :comment, :as=>:commentable,:dependent => :destroy
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
squeezer-0.2.1 app/models/blog.rb
squeezer-0.2.0 app/models/blog.rb
squeezer-0.1.11 app/models/blog.rb
squeezer-0.1.7 app/models/blog.rb
squeezer-0.1.6 app/models/blog.rb
squeezer-0.1.5 app/models/blog.rb
squeezer-0.1.4 app/models/blog.rb
squeezer-0.1.3 lib/app/models/blog.rb