for some reason, when i run restful_authentication on my development
server, the server will generate the activation email, but when i run
the same codebase on the production server, the activation email makes
no attempt to send…
[development.log]
Processing UsersController#create (for 127.0.0.1 at 2009-06-04 13:56:04)
[POST]
Parameters: {“user”=>{“password_confirmation”=>“xxx”,
“password”=>“xxx”, “login”=>“xxx”, “email”=>“xxx”}, “commit”=>“Sign up”,
“authenticity_token”=>“xxx”}
Cookie set: auth_token=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
User Exists (0.2ms) SELECT “users”.id FROM “users” WHERE
(“users”.“login” = ‘xxx’) LIMIT 1
User Exists (0.1ms) SELECT “users”.id FROM “users” WHERE
(“users”.“email” = ‘xxx’) LIMIT 1
User Create (0.6ms) INSERT INTO “users” (“name”, “salt”,
“updated_at”, “activated_at”, “crypted_password”,
“remember_token_expires_at”, “activation_code”, “remember_token”,
“login”, “email”, “created_at”) VALUES(‘’,
‘345e1c4d95b6b771fc015d7ae710ce4f5cf40ecd’, ‘2009-06-04 17:56:04’, NULL,
‘951c7f1c7adeba7689cf2c3d69faab3d15031fdc’, NULL,
‘938e16e49a6e34f1b00a416dcc7f357fce6a28bf’, NULL, ‘xxx’, ‘xxx’,
‘2009-06-04 17:56:04’)
Sent mail to xxx
Date: Thu, 4 Jun 2009 13:56:04 -0400
From: xxx
To: xxx
Subject: [xxx] Please activate your new account
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Your account has been created.
Username: xxx
Password: xxx
Visit this url to activate your account:
http://xxx:8003/activate/938e16e49a6e34f1b00a416dcc7f357fce6a28bf
Redirected to /
Completed in 57ms (DB: 1) | 302 Found [http://localhost/users]
[production log]
Processing UsersController#create (for 192.168.2.1 at 2009-06-04
14:15:58) [POST]
Parameters: {“commit”=>“Sign up”,
“authenticity_token”=>“4151357ce1cc0a18ec9a31c2914a004e6a1f161b”,
“user”=>{“password_confirmation”=>“xxx”, “password”=>“xxx”,
“login”=>“xxx”, “email”=>“xxx”}}
Cookie set: auth_token=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
Sent mail to xxx
Redirected to /
Completed in 370ms (DB: 3) | 302 Found
[http://red-red.dyndns.info/users]