app/models/booking_template.rb in has_accounts-1.1.1 vs app/models/booking_template.rb in has_accounts-1.1.2

- old
+ new

@@ -2,12 +2,12 @@ # Access restrictions attr_accessible :title, :code, :amount, :amount_relates_to, :comments # Associations belongs_to :debit_account, :foreign_key => 'debit_account_id', :class_name => "Account" - attr_accessible :debit_account_id + attr_accessible :debit_account_id, :debit_account belongs_to :credit_account, :foreign_key => 'credit_account_id', :class_name => "Account" - attr_accessible :credit_account_id + attr_accessible :credit_account_id, :credit_account # Default ordering default_scope order(:code) # Scopes