app/models/plutus/amount.rb in plutus-0.7.4 vs app/models/plutus/amount.rb in plutus-0.8.0
- old
+ new
@@ -4,11 +4,9 @@
# @abstract
# An amount must be a subclass as either a debit or a credit to be saved to the database.
#
# @author Michael Bulat
class Amount < ActiveRecord::Base
- attr_accessible :account, :amount, :transaction
-
belongs_to :transaction
belongs_to :account
validates_presence_of :type, :amount, :transaction, :account
end
\ No newline at end of file