seems the signup bug has been fixed, I would close this for now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user