Martin Andert
Not a member
Martin Andert's latest activity
Wednesday, April 14 2010
2523
Add 'field' attribute to ActiveRecord::Errors#to_xml
was updated
in Ruby on Rails
-
Martin Andert commented at 7:54 PMSee also Ticket #1625.
Instead of
<error field="...">...</error>I would prefer
<error on="...">...</error>like in
error_messages_on.
1625
Allow active record errors to_xml to return separate tags for attribute and m...
was updated
in Ruby on Rails
-
Martin Andert commented at 7:44 PMI would prefer it this way:
<errors> <error on="title">Title can't be blank</error> <error on="username">Username is already taken</error> </errors>So on...
Wednesday, February 17 2010
3629
weird behavior on error_messages_for
was updated
in Ruby on Rails
-
-
- Tag changed from 2.3.5, error_messages_for, i18n to 18, 2, error_messages_for
I have attached a failing test case.
Tuesday, February 16 2010
3629
weird behavior on error_messages_for
was updated
in Ruby on Rails
-
-
Martin Andert commented at 1:00 PMI am experiencing the same problem. Looks as
error_messages_fordoes agsub('_', ' ')on the object name before handing it to i18n. My current workaround:de: ...
Friday, January 15 2010
2785
[PATCH] scoped translation throws an exception
was updated
in Ruby on Rails
Monday, September 07 2009
2785
[PATCH] scoped translation throws an exception
was updated
in Ruby on Rails
-
Martin Andert commented at 8:45 AMThe patch for rails3 doesn't apply (anymore). The
templateVariable seems to be alwaysnil. As a fix for this I changed a line inaction_view/render/rendering.r...
Monday, March 16 2009
2251
AssociationCollection#destroy should only delete join table records
was updated
in Ruby on Rails
-
Martin Andert commented at 12:45 PMOh, that last "<<" should not be there in my test (copy & paste error). Now the test passes. Thank you.
-
Martin Andert commented at 11:47 AMOh, the second code snippet must be
def destroy(*records) super delete_records(flatten_deeper(records)) endSorry.