Skip to content
Snippets Groups Projects
Commit 85a0b974 authored by Florian Frank's avatar Florian Frank Committed by Alex Reisner
Browse files

Use Ruby attribute setters and not write_attribute

This change will call the writer methods defined on an AR model, if they're
implemented, instead of going behind their back. This also avoids a rails 3
deprecation warning, if the named attributes aren't actually database
attributes.
parent 6719d9d2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment