ShelbyTV / shelby_gt

Rails API services for Shelby GT
2 stars 0 forks source link

Message nickname and realname not kept up to date #122

Closed iceberg901 closed 12 years ago

iceberg901 commented 12 years ago

Message model stores a denormalized :nickname and :realname for its creator. Front end uses the :nickname to display who the message came from on the front end. If the user changes his :nickname, the :nickname field of his messages is not updated, so these messages will always display with his old nickname.

We should probably update these somehow, either via an update method or a reference to the creator's user object on the message.

spinosa commented 12 years ago

We will not update the denormalized information in the backend - doesn't make sense.

If this causes bugs on the front end, we will need a solution. If this is causing temporary misalignments, we can live with that.