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.

There was a problem

You must be a member of this account.

Cheah Chu Yeow's latest activity

Monday, February 28 2011
6484 Ignore test/tmp folder created by ActiveSupport tests was updated in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 7:07 AM

    Just tried running the ActiveSupport tests, yup a activesupport/test/tmp/ folder does show up untracked. +1

Sunday, February 27 2011
6480 Action cache filter code incorrectly renders nil response body if response is... was created in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow created the ticket at 3:11 PM

    Best explained with an example - consider the simple controller below:

    class ActionCachingTestController < ActionController::Base
      caches_action :four_oh_four...
Monday, April 19 2010
1972 Rails metal: Throw an exception to continue the dispatch chain was updated in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 10:54 AM

    I agree that returning a magic 404 feels wrong, but I'm not sure if we should affect the change in Rails 2.x in the interests of not breaking existing applicati...

Monday, August 03 2009
2957 Adding Array.uniq_by(proc) to core_ext, allowing selection of unique elements... was updated in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 2:21 AM

    I like Pratik's idea of overriding uniq. There've been more than a few times that I've used uniq expecting that it takes a block.

    Otherwise I like the general i...

Saturday, June 13 2009
2800 [PATCH] Bytes calculation speed up for ActiveSupport was updated in Ruby on Rails
Thursday, May 21 2009
2687 Remove unnecessary require in YAML JSON backend was created in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow created the ticket at 11:12 AM

    In yaml.rb (the YAML JSON backend), 'active_support/core_ext/string/starts_ends_with' is required but not used.

    Just need to delete that line :)

    Impossibly triv...

Tuesday, May 12 2009
2639 Use string interpolation instead of concatenation in Hash#rails_to_json was created in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow created the ticket at 6:39 PM

    Minor patch for the encoder for Hashes to use string interpolation rather than concatenation, and also to not use an extraneous local variable.

2637 I18n, look up a translation with the default locale when it's missed with ano... was updated in Ruby on Rails
  • Cheah Chu Yeow
    • Tag changed from active_support, documentation, i18n, improvement, patch, test to active_support, documentation, i18n, improvement, patch, test, verified
    by Cheah Chu Yeow at 6:12 PM
1111 String#parameterize should accept a custom separator was updated in Ruby on Rails
  • Cheah Chu Yeow
    • Tag changed from activesupport, core_ext, patch, tests, tiny to activesupport, core_ext, duplicate, patch, tests, tiny
    by Cheah Chu Yeow at 6:11 PM

    Since Sam's patch from http://rails.lighthouseapp.com/p... has been committed, I guess we should close this ticket.

2484 config.action_controller.session_options is broken was updated in Ruby on Rails
  • Cheah Chu Yeow
    Cheah Chu Yeow commented at 6:04 PM

    Dave's right :)

    Try this instead Ozgun:

    
    config.action_controller.session = {
      :cookie_only => true
    }