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.

James Conroy-Finn's latest activity

Wednesday, October 13 2010
5782 Customize I18n::MissingTranslationData was updated in Ruby on Rails
  • James Conroy-Finn
    James Conroy-Finn commented at 2:39 PM

    Really wish I could edit updates! I didn't read the last couple of paragraphs in you OP. Apologies.

  • James Conroy-Finn
    James Conroy-Finn commented at 2:38 PM

    By the way, if you use the translate or t helper in any of your views your custom error handling will be bypassed because Rails specifies :raise => true as an o...

  • James Conroy-Finn
    James Conroy-Finn commented at 1:43 PM

    A custom exception handler needs to be defined on I18n itself. The code in the guide is wrong.

    module I18n
      def self.custom_handler(exception, key, locale, op...
Saturday, August 28 2010
5472 Potentially resolved… Callback API change breaks #run_callbacks was updated in Ruby on Rails
  • James Conroy-Finn
    • Title changed from Unable to manually run ActiveRecord object callbacks to Potentially resolved… Callback API change breaks #run_callbacks
    by James Conroy-Finn at 12:12 AM
  • James Conroy-Finn
    James Conroy-Finn commented at 12:12 AM

    OK… We've worked this one out. The API has changed but the documentation doesn't reflect the changes too clearly. Hopefully Yehuda can clarify this but essentia...

Friday, August 27 2010
5474 ActionController::TestCase fails to recognise valid routes was created in Ruby on Rails
  • James Conroy-Finn
    James Conroy-Finn created the ticket at 3:47 PM

    I'm unable to run controller and/or routing specs because ActionController::TestCase seems to fail to recognise valid routes, which work when requested via HTTP...

5472 Unable to manually run ActiveRecord object callbacks was updated in Ruby on Rails
  • James Conroy-Finn
    James Conroy-Finn commented at 3:13 PM
  • James Conroy-Finn
    James Conroy-Finn commented at 12:30 PM

    I've written a quick test in activerecord/test/cases/callbacks_test.rb that demonstrates the exact failure I'm experiencing and have included a patch file with ...

  • James Conroy-Finn
    James Conroy-Finn created the ticket at 11:44 AM

    It appears that calling Model#run_callbacks is broken in the Rails 3 release candidates (rc and rc2), however callbacks do work when Rails runs them internally.

    ...
Thursday, December 17 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails