mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add account activity to registrar
This commit is contained in:
parent
f2f2e42608
commit
32073ca862
15 changed files with 117 additions and 32 deletions
|
@ -1,4 +1,10 @@
|
|||
class Account < ActiveRecord::Base
|
||||
belongs_to :registrar
|
||||
has_many :account_activities
|
||||
|
||||
CASH = 'cash'
|
||||
|
||||
def activities
|
||||
account_activities
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue