Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

load_languages! always called in current_language=

#41

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'

Reported by Tung Nguyen · June 14th, 2007 @ 11:45 AM

State: resolved
Milestone: none
Assigned to: Chris Wanstrath Chris Wanstrath

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to resolved

    (from [266]) Gibberish: fix bug causing load_languages! to always be called [Tung Nguyen] [#41 state:resolved]

    http://require.errtheblog.com/pl...

    June 14th, 2007 @ 11:45 AM

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.