Changeset [7af59dab0890d6e5adfd73dbe24e28662ef78fc1] by Gaspard Bucher
Revision 7af59dab0890d6e5adfd73dbe24e28662ef78fc1,
committed by Gaspard Bucher
· September 8th, 2009 @ 08:25 PM
Created a simple library to transform attribute name shortcuts
like 'v_title' to their
"nested attributes" compatible formats ('version_attributes' =>
{'title' => '...'}). This should also serve as a basis for
dynamic attributes and relations.
http://github.com/zena/zena/commit/7af59dab0890d6e5adfd73dbe24e2866...
2 changed files
-
A
lib/zena/use/nested_attributes_alias.rb -
A
test/unit/nested_attributes_alias_test.rb