Sha256: 7ba9f0f9ce3e9673c3f0167278cc9f87739a9729cf1998b5eb27dbb192acb52b

Contents?: true

Size: 252 Bytes

Versions: 7

Compression:

Stored size: 252 Bytes

Contents

class User < ActiveRecord::Base
  include AllowSettingIdOnCreate

  has_many :posts
  has_many :topics

  has_one :profile
  has_one :active_profile, :conditions => { :trashed => false }, :class_name => 'Profile'

  has_defaults :trashed => false

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
edge_rider-0.2.5 spec/shared/app_root/app/models/user.rb
edge_rider-0.2.4 spec/shared/app_root/app/models/user.rb
edge_rider-0.2.3 spec/shared/app_root/app/models/user.rb
edge_rider-0.2.2 spec/shared/app_root/app/models/user.rb
edge_rider-0.2.1 spec/shared/app_root/app/models/user.rb
edge_rider-0.2.0 spec/shared/app_root/app/models/user.rb
edge_rider-0.1.1 spec/shared/app_root/app/models/user.rb