app/models/account.rb in has_accounts-0.8.0 vs app/models/account.rb in has_accounts-0.8.1

- old
+ new

@@ -14,9 +14,10 @@ end # Account Type # ============ belongs_to :account_type + validates_presence_of :account_type def is_asset_account? Account.by_type(['current_assets', 'capital_assets', 'costs']).exists?(self) end