Sha256: 479eaac0c402d1d943844cc69e75e0bf823d7176043207aa493ee7f372260e5c

Contents?: true

Size: 163 Bytes

Versions: 7

Compression:

Stored size: 163 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

7 entries across 7 versions & 1 rubygems

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