Sha256: 2cae6c89d14a9f8f811e0330a71b34aeb5b8e04f0e93e0e4b59e9aed11d65303

Contents?: true

Size: 150 Bytes

Versions: 13

Compression:

Stored size: 150 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wheels-0.0.17 app/models/blog.rb
wheels-0.0.16 app/models/blog.rb
wheels-0.0.15 app/models/blog.rb
wheels-0.0.14 app/models/blog.rb
wheels-0.0.13 app/models/blog.rb
wheels-0.0.11 app/models/blog.rb
wheels-0.0.10 app/models/blog.rb
wheels-0.0.9 app/models/blog.rb
wheels-0.0.8 app/models/blog.rb
wheels-0.0.6 app/models/blog.rb
wheels-0.0.5 app/models/blog.rb
wheels-0.0.4 app/models/blog.rb
wheels-0.0.3 app/models/blog.rb