#79 ✓resolved
Guillermo Farias

When editing an account it unassigns the account creator from the account

Reported by Guillermo Farias | July 28th, 2009 @ 10:02 PM | in 0.9.7 "Steinitz"

Hi Mike, it's me again.. the rails newbie.. :)

I think i found another typo:

app/views/account/_edit.html.haml line 4 says:

= hidden_field_tag "account[user_id]", @current_user.id

i think it should be:

= hidden_field_tag "account[user_id]", @account.user_id

Otherwise it will replace the account creator's user_id with the id of the logged user...

Please feel free to correct me if im wrong... i'm always thirsty for knowledge..

thanx!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Tags

Referenced by

Pages