From fe6b690f4d2b88be0cd8569e6c62cab0debaa829 Mon Sep 17 00:00:00 2001 From: Onur Ozgur OZKAN Date: Sat, 28 Sep 2013 22:02:23 +0300 Subject: [PATCH] #87 add time_zone to devise model --- lib/cybele/app_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cybele/app_builder.rb b/lib/cybele/app_builder.rb index bf74e22..bc059d9 100644 --- a/lib/cybele/app_builder.rb +++ b/lib/cybele/app_builder.rb @@ -264,7 +264,7 @@ def create_sanitizer_lib(model_name) class #{model_name.classify}::ParameterSanitizer < Devise::ParameterSanitizer private def sign_up - default_params.permit(:name, :email, :password, :password_confirmation) # TODO add other params here + default_params.permit(:name, :email, :password, :password_confirmation, :time_zone) # TODO add other params here end end CODE