New issue report by johnwilger:
What steps will reproduce the problem?
1. Do svn checkout of trunk as of 10/3/2007 15:10
2. create empty dev and test databases
3. run migrations
4. start dev server via script/server
5. browse to http://localhost:3000
6. Click "Register" link
7. Fill out account info
8. Click "Register" button
What is the expected output? What do you see instead?
I expect the account to be created and to be logged in as that user.
Instead, nothing /appears/ to happen on the page. The following is the
output in the server console:
Processing UsersController#register (for 127.0.0.1 at 2007-10-03 15:09:38)
[POST]
Session ID: 8e961702f4262d409075dc475e98bd67
Parameters: {"user"=>{"password_confirmation"=>"megaman",
"username"=>"jwilger", "first_name"=>"John", "last_name"=>"Wilger",
"password"=>"megaman", "email"=>"johnw...@gmail.com"},
"submit"=>"Register", "action"=>"register", "controller"=>"users"}
SQL (0.001005) SELECT a.attname, format_type(a.atttypid, a.atttypmod),
d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = 'users'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
SQL (0.000160) BEGIN
User Load (0.001047) SELECT * FROM users WHERE (users.username =
'jwilger') LIMIT 1
User Load (0.000295) SELECT * FROM users WHERE (users.email =
'johnw...@gmail.com') LIMIT 1
PK and serial sequence (0.003768) SELECT attr.attname, name.nspname,
seq.relname
FROM pg_class seq,
pg_attribute attr,
pg_depend dep,
pg_namespace name,
pg_constraint cons
WHERE seq.oid = dep.objid
AND seq.relnamespace = name.oid
AND seq.relkind = 'S'
AND attr.attrelid = dep.refobjid
AND attr.attnum = dep.refobjsubid
AND attr.attrelid = cons.conrelid
AND attr.attnum = cons.conkey[1]
AND cons.contype = 'p'
AND dep.refobjid = 'users'::regclass
User Create (0.000557) INSERT INTO users ("updated_at", "admin",
"username", "team", "first_name", "last_name", "password", "created_at",
"email") VALUES('2007-10-03 15:09:38.445730', NULL, 'jwilger', NULL,
'John', 'Wilger', 'megaman', '2007-10-03 15:09:38.445730',
'johnw...@gmail.com')
SQL (0.000232) SELECT currval('users_id_seq')
SQL (0.009900) COMMIT
Rendered users/_login_form (0.00102)
NameError (undefined local variable or method `user' for
#<#<Class:0x23c867c>:0x23c8640>):
.//app/controllers/users_controller.rb:71:in `__bind_1191449378_442130'
.//vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:548:in
`delay'
.//app/controllers/users_controller.rb:70:in `__bind_1191449378_442130'
.//vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb:44:in
`[]'
.//vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb:44:in
`instance_exec'
.//vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:313:in
`initialize'
.//vendor/rails/actionpack/lib/action_controller/base.rb:769:in `new'
.//vendor/rails/actionpack/lib/action_controller/base.rb:769:in
`render_with_no_layout'
.//vendor/rails/actionpack/lib/action_controller/layout.rb:256:in
`render_without_benchmark'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in
`render'
/Users/jwilger/Applications/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in
`render'
.//app/controllers/users_controller.rb:62:in `register'
.//vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'
.//vendor/rails/actionpack/lib/action_controller/base.rb:1095:in
`perform_action_without_filters'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:632:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:634:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:637:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:637:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:634:in
`call_filter'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:619:in
`perform_action_without_benchmark'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
/Users/jwilger/Applications/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in
`perform_action_without_rescue'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in
`perform_action'
.//vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
.//vendor/rails/actionpack/lib/action_controller/base.rb:430:in
`process_without_filters'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:624:in
`process_without_session_management_support'
.//vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in
`process'
.//vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
.//vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in
`process'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
`synchronize'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
`process'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
`process_client'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
`each'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
`process_client'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
`initialize'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
`new'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in
`initialize'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in
`new'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
`each'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in
`run'
/Users/jwilger/Applications/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in
`load'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in
`load'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
`new_constants_in'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in
`load'
.//vendor/rails/railties/lib/commands/servers/mongrel.rb:60
/Users/jwilger/Applications/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
/Users/jwilger/Applications/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
`new_constants_in'
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
`require'
.//vendor/rails/railties/lib/commands/server.rb:39
./script/server:3:in `require'
./script/server:3
Rendering
./script/../config/../vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml
(500 Internal Error)
DashboardController: missing default helper path dashboard_helper
Issue attributes:
Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Critical
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings