seems the signup bug has been fixed, I would close this for now

This commit is contained in:
Ken Johnson
2013-06-01 19:49:01 -04:00
parent 8f1ee5ccbe
commit 1267661c6a
+1 -2
View File
@@ -10,8 +10,7 @@ class UsersController < ApplicationController
def create
user = User.new(params[:user])
user.build_retirement(POPULATE_RETIREMENTS.shuffle.first)
user.build_paid_time_off(POPULATE_PAID_TIME_OFF.shuffle.first)
user.build_paid_time_off.schedule(POPULATE_SCHEDULE.shuffle.first)
user.build_paid_time_off(POPULATE_PAID_TIME_OFF.shuffle.first).schedule.build(POPULATE_SCHEDULE.shuffle.first)
user.build_work_info(POPULATE_WORK_INFO.shuffle.first)
user.performance.build(POPULATE_PERFORMANCE.shuffle.first)
if user.save