Em 12-05-2011 05:33, Wiz of Id escreveu:
production.log:
ActionView::TemplateError (suspend_admin_user_url failed to generate
from {:controller=>"admin/users", :action=>"suspend", :id=>#<User id:
1, login: "w.trumbitta", email: "[email protected]",
crypted_password: "<CHANGED_FOR_POSTING>", salt: "
<CHANGED_FOR_POSTING>", created_at: "2011-05-11 15:29:02", updated_at:
"2011-05-11 16:09:25", remember_token: " <CHANGED_FOR_POSTING>",
remember_token_expires_at: "2011-05-25 16:09:25", activation_code:
nil, activated_at: "2011-05-11 15:38:03", ssh_key_id: nil, fullname:
nil, url: nil, identity_url: nil, is_admin: true, suspended_at: nil,
aasm_state: "terms_accepted", public_email: true,
wants_email_notifications: true, password_key: nil, avatar_file_name:
nil, avatar_content_type: nil, avatar_file_size: nil,
avatar_updated_at: nil, default_favorite_notifications: false>},
expected: {:controller=>"admin/users", :action=>"suspend"}, diff:
{:id=>#<User id: 1, login: "w.trumbitta", email:
"[email protected]", crypted_password: " <CHANGED_FOR_POSTING>",
salt: " <CHANGED_FOR_POSTING>", created_at: "2011-05-11 15:29:02",
updated_at: "2011-05-11 16:09:25", remember_token: "
<CHANGED_FOR_POSTING>", remember_token_expires_at: "2011-05-25
16:09:25", activation_code: nil, activated_at: "2011-05-11 15:38:03",
ssh_key_id: nil, fullname: nil, url: nil, identity_url: nil, is_admin:
true, suspended_at: nil, aasm_state: "terms_accepted", public_email:
true, wants_email_notifications: true, password_key: nil,
avatar_file_name: nil, avatar_content_type: nil, avatar_file_size:
nil, avatar_updated_at: nil, default_favorite_notifications: false>})
on line #54 of app/views/admin/users/index.html.erb:
Read somewhere on the net that this happens to someone when the
username has a . in it.
Given the reason is really that, what can I do to fix the issue :) ?
Hi Wiz,
I tried to replicate your problem but Gitorious didn't allowed me to
create a username with a dot in it. How did you get that?
Regards, Rodrigo.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]