User_url failed to generate from {:action=>"show", :controller=>"users", :id=>#<User id: 1

hi,

not sure what i did, but now im getting suddenly this:

user_url failed to generate from {:action=>“show”, :controller=>“users”,
:id=>#<User id: 1

log:

/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:426:in
raise_named_route_error' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:387:ingenerate’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/url_rewriter.rb:205:in
rewrite_path' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/url_rewriter.rb:184:inrewrite_url’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/url_rewriter.rb:162:in
rewrite' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:634:inurl_for’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/url_helper.rb:85:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/url_helper.rb:85:inurl_for’
(eval):16:in user_path' /opt/rails/testapp1/app/views/mysite/index.html.erb:8:in_run_erb_app47views47mysite47index46html46erb’

that is causing the prob:

<%= link_to ‘My Profile’, current_user %>

and yes, the user is logged in.

any ideas>

thx

fixed - my bad. prob was wrong overriden param definition.