#41 ✓resolved
Tung Nguyen

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

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 new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Attachments

Pages