app/models/cadenero/user.rb in cadenero-0.0.2.b8 vs app/models/cadenero/user.rb in cadenero-0.0.2.b10

- old
+ new

@@ -1,8 +1,7 @@ module Cadenero # Defines a user of one or more accounts for the multitenant Rails App class User < ActiveRecord::Base - attr_accessible :email, :password, :password_confirmation has_secure_password has_many :accounts, class_name: "Cadenero::V1::Account", foreign_key: "owner_id" has_many :members, class_name: "Cadenero::Member" has_many :memberships, through: :members, source: :account