app/models/cadenero/v1/account.rb in cadenero-0.0.1 vs app/models/cadenero/v1/account.rb in cadenero-0.0.2.a

- old
+ new

@@ -3,10 +3,10 @@ belongs_to :owner, :class_name => "Cadenero::User" has_many :members, :class_name => "Cadenero::Member" has_many :users, :through => :members accepts_nested_attributes_for :owner - attr_accessible :name, :subdomain, :owner_attributes + attr_accessible :name, :subdomain, :owner_attributes, :owner validates :subdomain, :presence => true, :uniqueness => true # Creates an accout and assign the provided [Cadenero::User] as owner to the account # @param [Hash] params list # @example