Sha256: 70b5e32c39d227a148e89fece0cc786c7104610f7a908960b01f34cc3b9040f8

Contents?: true

Size: 236 Bytes

Versions: 1

Compression:

Stored size: 236 Bytes

Contents

class User < ActiveRecord::Base  
  include_and_extend SimpleRoles
 
  tango_user # see macros

  has_friendly_id :name

  has_many :articles
  has_many :comments
  has_many :posts
  has_many :accounts, :foreign_key => "account_id"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-0.8.0 spec/dummy/app/models/user.rb