class Asset < ActiveRecord::Base
  # Invoice
  belongs_to :invoice

  # Bookings
  # ========
  include HasAccounts::Model
end

class Asset < ActiveRecord::Base
  # Invoice
  belongs_to :invoice

  # Validations
  validates_presence_of :title, :amount, :state

  # Bookings
  # ========
  include HasAccounts::Model
end

Validate presence of title, amount, state in Assets.
Validate presence of title, amount, state in Assets.
