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
-
Mike Dvorkin July 30th, 2009 @ 11:02 PM
- State changed from new to open
- Tag set to accounts
-
Mike Dvorkin August 3rd, 2009 @ 04:28 PM
- State changed from open to resolved
(from [2fa3e5a95320389f8d018834eef0e38c93e12921]) Make sure editing assets doesn't change asset owner (LH #79) [#79 state:resolved] http://github.com/michaeldv/fat_free_crm/commit/2fa3e5a95320389f8d0...
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.
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
- 79 When editing an account it unassigns the account creator from the account (from [2fa3e5a95320389f8d018834eef0e38c93e12921]) Make su...
- 79 When editing an account it unassigns the account creator from the account (from [2fa3e5a95320389f8d018834eef0e38c93e12921]) Make su...