Skip to content

Instantly share code, notes, and snippets.

@jxpx777
Last active December 25, 2015 13:39
Show Gist options
  • Save jxpx777/6984831 to your computer and use it in GitHub Desktop.
Save jxpx777/6984831 to your computer and use it in GitHub Desktop.
Error output
Started POST "/account" for 127.0.0.1 at 2013-10-14 19:45:05 -0500
Processing by AccountsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ALG1cWqa6VZn+LIjfi/aeCOLl9rDFI+JSKDn6yyn+V4=", "plan"=>"Free", "account"=>{"name"=>"Test2 Here", "domain"=>"test2", "admin_attributes"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}}
Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`full_domain` = 'myhood.dev' AND (`accounts`.`deleted_at` IS NULL) LIMIT 1
Account Load (40.4ms) SELECT `accounts`.* FROM `accounts` WHERE (`accounts`.`deleted_at` IS NULL) LIMIT 1
SubscriptionPlan Load (0.3ms) SELECT `subscription_plans`.* FROM `subscription_plans` WHERE `subscription_plans`.`name` = 'Free' LIMIT 1
(0.1ms) BEGIN
User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = '[email protected]' AND `users`.`account_id` IS NULL) LIMIT 1
CACHE (0.0ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = '[email protected]' AND `users`.`account_id` IS NULL) LIMIT 1
(0.3ms) SELECT COUNT(*) FROM `accounts` WHERE (`accounts`.`deleted_at` IS NULL) AND (full_domain = 'test2.myhood.dev')
SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `deleted_at`, `full_domain`, `name`, `updated_at`) VALUES ('2013-10-15 00:45:05', NULL, 'test2.myhood.dev', 'Test2 Here', '2013-10-15 00:45:05')
SQL (0.3ms) INSERT INTO `users` (`account_id`, `admin`, `avatar_content_type`, `avatar_file_name`, `avatar_file_size`, `avatar_updated_at`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `remember_token`, `reset_password_sent_at`, `reset_password_token`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-10-15 00:45:05', NULL, NULL, '[email protected]', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '2013-10-15 00:45:05')
Mysql2::Error: Column 'encrypted_password' cannot be null: INSERT INTO `users` (`account_id`, `admin`, `avatar_content_type`, `avatar_file_name`, `avatar_file_size`, `avatar_updated_at`, `confirmation_sent_at`, `confirmation_token`, `confirmed_at`, `created_at`, `current_sign_in_at`, `current_sign_in_ip`, `email`, `encrypted_password`, `failed_attempts`, `last_sign_in_at`, `last_sign_in_ip`, `locked_at`, `name`, `password_salt`, `remember_created_at`, `remember_token`, `reset_password_sent_at`, `reset_password_token`, `sign_in_count`, `unlock_token`, `updated_at`) VALUES (8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-10-15 00:45:05', NULL, NULL, '[email protected]', NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '2013-10-15 00:45:05')
(1.5ms) ROLLBACK
Completed 500 Internal Server Error in 54ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment