我有 2 个 Ruby on Rails 项目。当我为第一个项目启动 Rails 服务器并登录时,我在控制台中看到:
Started POST "/users/sign_in" for 127.0.0.1 at 2013-11-15 10:40:24 +0100
当我为第二个项目启动 Rails 服务器并登录时,我在控制台中看到了这个:
Started POST "/users/sign_in" for 127.0.0.1 at 2013-11-15 10:39:46 +0100
Processing by SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"s8eI2YYtuduMy1Hxa7kJJUeCJoLi5pjEb7FmhpOE5/c=", "user"=>{"email"=>"test@test.nl", "password"=>"[FILTERED]"}, "commit"=>"Inloggen"}
User Load (4.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'ed@salves.nl' LIMIT 1
我看不出两个项目的设置有什么区别,但我如何确保第一个项目也显示扩展信息?