Sha256: f30f3eda4bc1947524911fd1c5ee81d682daa7d11c6034edd234a60f9c91c605

Contents?: true

Size: 177 Bytes

Versions: 22

Compression:

Stored size: 177 Bytes

Contents

class Blog < ActiveRecord::Base
  acts_as_taggable
  belongs_to :user
  validates_presence_of :user_id, :title
  has_many :images
  cattr_reader :per_page
  @@per_page = 5
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
wheels-0.0.39 app/models/blog.rb
wheels-0.0.38 app/models/blog.rb
wheels-0.0.37 app/models/blog.rb
wheels-0.0.36 app/models/blog.rb
wheels-0.0.35 app/models/blog.rb
wheels-0.0.34 app/models/blog.rb
wheels-0.0.33 app/models/blog.rb
wheels-0.0.32 app/models/blog.rb
wheels-0.0.31 app/models/blog.rb
wheels-0.0.30 app/models/blog.rb
wheels-0.0.29 app/models/blog.rb
wheels-0.0.28 app/models/blog.rb
wheels-0.0.27 app/models/blog.rb
wheels-0.0.26 app/models/blog.rb
wheels-0.0.25 app/models/blog.rb
wheels-0.0.24 app/models/blog.rb
wheels-0.0.23 app/models/blog.rb
wheels-0.0.22 app/models/blog.rb
wheels-0.0.21 app/models/blog.rb
wheels-0.0.20 app/models/blog.rb