Louis | Allows users to associate clients with agencies

This commit is contained in:
Loos
2014-09-22 19:44:03 -04:00
parent 7ed3fce648
commit 2a33493ff2
8 changed files with 23 additions and 10 deletions
+1
View File
@@ -1,2 +1,3 @@
class Agency < ActiveRecord::Base
has_many :clients
end
+1
View File
@@ -1,3 +1,4 @@
class Client < ActiveRecord::Base
has_one :bike
belongs_to :agency
end