Changeset [89f247df4d061fa50d7a3b7128284867bb24229a] by Gaspard Bucher

September 14th, 2009 @ 10:31 AM

Better NestedAttributesAlias that also supports aliases in forms: <%= f.text_field 'v_title' %>.
Removed direct methods using alias like 'v_title', 'v_text'.
http://github.com/zena/zena/commit/89f247df4d061fa50d7a3b7128284867...

Committed by Gaspard Bucher

  • A test/unit/zena/use/nested_attributes_alias_model_test.rb
  • A test/unit/zena/use/nested_attributes_alias_view_test.rb
  • R test/unit/zena/use/nested_attributes_alias_test.rb
  • M app/controllers/application_controller.rb
  • M app/controllers/versions_controller.rb
  • M app/models/node.rb
  • M app/models/template.rb
  • M app/models/version.rb
  • M app/views/nodes/_gallery.rhtml
  • M app/views/nodes/_list_nodes.rhtml
  • M app/views/nodes/_results.rhtml
  • M lib/zena/use/nested_attributes_alias.rb
  • M lib/zena/view/test_case.rb
  • M test/unit/zena/use/zazen_test.rb
New-ticket Create new ticket

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

Shared Ticket Bins