Add account activity to registrar

This commit is contained in:
Martin Lensment 2015-04-16 13:21:43 +03:00
parent f2f2e42608
commit 32073ca862
15 changed files with 117 additions and 32 deletions

View file

@ -1,4 +1,10 @@
class Account < ActiveRecord::Base
belongs_to :registrar
has_many :account_activities
CASH = 'cash'
def activities
account_activities
end
end