summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-02-21 22:36:24 -0700
committermo khan <mo@mokhan.ca>2014-02-21 22:36:24 -0700
commite7902a5ecf47391c50290c06c2df06732a5c6fd0 (patch)
treed1f5537104409335450dee659561774e912e8701 /app/models/user.rb
parentb50a9b42f1cddc78f75f75913f39bd19fbf4d8d5 (diff)
create location model.
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 7085ac2..f2197dd 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -10,7 +10,8 @@ class User
license.company = company
license.well_type = well_type
license.location = location
- license.applicant = self
+ #license.applicant = self
+ license.save!
license
end
end