attribute filtering is a mess
Reported by Gaspard Bucher | September 3rd, 2008 @ 03:03 PM | in public beta
Originally posted on Trac by gaspard Original Trac Ticket
Description
It should be done in attributes=. This could avoid all the hacky set name from version during 'before_validation'.
Trac Attachments
Trac Comments
2007-09-17 13:32:27 changed by gaspard
(In [746]) Less confusion between template modes, klass and format and the template's actual name. Fixes #75 (2.5) Moved all attribute translation (dates, zips) into the Node class. When a class needs to alter/add attributes it is now done in "attributes=". Fixes #83 (2) [CAUTION] This commit includes a migration that alters version text as the code for template inclusion has changed.
hours set to 2.0.
status changed from new to closed.
resolution set to fixed.
totalhours changed from 0.0 to 2.0.
(In [746]) Less confusion between template modes, klass and format and the template's actual name. Fixes #75 (2.5) Moved all attribute translation (dates, zips) into the Node class. When a class needs to alter/add attributes it is now done in "attributes=". Fixes #83 (2) [CAUTION] This commit includes a migration that alters version text as the code for template inclusion has changed.
hours set to 2.0.
status changed from new to closed.
resolution set to fixed.
totalhours changed from 0.0 to 2.0.
2007-09-19 17:37:19 changed by gaspard
(In [748]) Could not create template through DocumentController?. Refs #83.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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
People watching this ticket
Referenced by
- 75 Confusion between template name and mode/format (In [746]) Less confusion between template modes, klass a...
- 75 Confusion between template name and mode/format (In [746]) Less confusion between template modes, klass a...
- 83 attribute filtering is a mess (In [746]) Less confusion between template modes, klass a...
- 83 attribute filtering is a mess (In [746]) Less confusion between template modes, klass a...
- 83 attribute filtering is a mess (In [748]) Could not create template through DocumentCont...