Changeset [3313c7b3cbe554c671ff6fd9b624876db90af066] by renoke
September 5th, 2009 @ 04:22 PM
Dynamic Attribute. Need to overwrite 'attributes=' method since
ActiveRecord
check with respond_to? if the attribute setter exist before
allocating value.
Consequently that the method_missing pattern is not enough when
ActiveRecord
sets value, but still works when it gets value.
http://github.com/zena/zena/commit/3313c7b3cbe554c671ff6fd9b624876d...
Committed by renoke
- M test/unit/dyn_attributes_test.rb
- M vendor/plugins/dyn_attributes/lib/dyn_attributes.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Anyone knows how to use formatting here ?
Git repository: http://github.com/zena
Official website: http://zenadmin.org