load_languages! always called in current_language=
Reported by Tung Nguyen | June 14th, 2007 @ 11:45 AM
load_languages! always gets called when current_language is set.
The precendence of method calls is lower than &&
load_languages! if defined? RAILS_ENV && RAILS_ENV == 'development'
should be:
load_languages! if defined?(RAILS_ENV) && RAILS_ENV == 'development'
or
load_languages! if defined? RAILS_ENV and RAILS_ENV == 'development'
Comments and changes to this ticket
-
Chris Wanstrath June 14th, 2007 @ 11:45 AM
- State changed from new to resolved
(from [266]) Gibberish: fix bug causing load_languages! to always be called [Tung Nguyen] [#41 state:resolved]
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 ยป