
localize and translate should return an empty string when used with nil
Reported by Thilo Utke | March 14th, 2009 @ 08:28 PM
To avoid constructs like
@@@ I18.l @user.date_of_birth if if @user.date_of_birth @@@ the two
methods should return an empty string when called with nil.
I happy to provide a test and fix myself if you agree with my suggestion.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Internationalization API for Ruby.
This library is used in Ruby on Rails but also suited for use in other contexts.