Niels Ganser
Not a member
Niels Ganser's latest activity
Friday, January 23 2009
1792
flash.use should return values which it marked as (un)used
was updated
in Ruby on Rails
-
Niels Ganser commented at 9:25 PMHere's an alternative, i.e. more extensive, test:
def test_keep_and_discard_return_values flash = ActionController::Flash::FlashHash.new flash.up... -
Niels Ganser created the ticket at 8:18 PMMotivation
I found myself repeating
flash_content = flash[:whatever] # ... flash.discard(:whatever)in some of my applications.
One good example would b...
Thursday, January 22 2009
745
Form label should use I18n
was updated
in Ruby on Rails
-
Niels Ganser commented at 2:25 AMIf we know for sure that other languages have other "titlecasing" rules, I would suggest putting the corresponding logic right into the titleize method and stor...
Wednesday, January 21 2009
745
Form label should use I18n
was updated
in Ruby on Rails
-
Niels Ganser commented at 4:04 PMAdditional to Iains linked patch, I would also suggest running titleize on the string returnd by I18n.
The reasoning behind that being that in your translation ...
Friday, January 16 2009
1546
InstanceTag#to_label_tag should use human_attribute_name
was updated
in Ruby on Rails
-
Niels Ganser commented at 7:28 PMSo it looks like this duplicates #745. Also see http://i18n.lighthouseapp.com/pr...
-
Niels Ganser commented at 5:38 PM+1 on this
Did you ever finish your patch, Pascal? Otherwise I will have a go at it..