Sha256: e97807aafc678ceffce1f3dfb40b63e60d9f131e193d68f7ddf08326afdf87e8

Contents?: true

Size: 226 Bytes

Versions: 36

Compression:

Stored size: 226 Bytes

Contents

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

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wheels-0.1.7 app/models/blog.rb
wheels-0.1.6 app/models/blog.rb
wheels-0.1.5 app/models/blog.rb
wheels-0.1.4 app/models/blog.rb
wheels-0.1.3 app/models/blog.rb
wheels-0.1.2 app/models/blog.rb
wheels-0.1.1 app/models/blog.rb
wheels-0.1.0 app/models/blog.rb
wheels-0.0.49 app/models/blog.rb
wheels-0.0.48 app/models/blog.rb
wheels-0.0.47 app/models/blog.rb
wheels-0.0.46 app/models/blog.rb
wheels-0.0.45 app/models/blog.rb
wheels-0.0.44 app/models/blog.rb
wheels-0.0.43 app/models/blog.rb
wheels-0.0.42 app/models/blog.rb