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.

Lawrence Pit's latest activity

Friday, September 11 2009
3185 Docs and tests for the Errors.each_error method was created in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit created the ticket at 7:03 AM

    The Errors.each_error method is missing docs and tests. See attached patch.

Monday, July 06 2009
2871 Allow i18n to be loaded from gem instead of from vendor dir was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 2:57 AM

    erm.. sorry, don't use load_i18n_gem_23.diff, something went wrong, and the delete function for attachments in lighthouseapp doesn't work :(

  • Lawrence Pit
    Lawrence Pit created the ticket at 2:49 AM

    Allow i18n to be loaded from gem instead of from vendor dir. This way new versions of the I18n gem can be tested and used with rails.

    Attached is a patch for th...

string_interpolation.diff was uploaded by Lawrence Pit at 1:35 AM to #2870, Ruby on Rails
2870 Ruby 1.9 style String interpolation support for lower ruby versions. was created in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit created the ticket at 1:34 AM

    Attached patch adds ruby 1.9 style String interpolation support for lower ruby versions. Thanks to code from Masao Mutoh's GetText gem.

    The reason for including...

Friday, June 12 2009
1934 uninitialized constant Merb ActionController was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 10:21 AM

    The solution is to upgrade to the latest version of webrat.

Thursday, March 12 2009
2036 Linking and unlinking via accepts_nested_attributes_for was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 12:58 AM

    delete mark should be destroy, so unlink can be delete

    I agree with that.

Tuesday, March 10 2009
2036 Linking and unlinking via accepts_nested_attributes_for was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 11:03 PM

    @DiMarcello Thanks mate, that was exactly the implementation I had in mind.

    @Eloy I think it is necessary to the change the normal #destroy/#push methods to wor...

Tuesday, February 24 2009
2036 Linking and unlinking via accepts_nested_attributes_for was updated in Ruby on Rails
  • Lawrence Pit
    Lawrence Pit commented at 1:25 PM

    Attached a patch that first requires patch from #1930.

    Hopefully the extra autosave tests are more clear now.

    Can you explain how I could get the code (that I c...

  • Lawrence Pit
    Lawrence Pit commented at 12:33 AM

    I know that normally delete and push on an association collection execute directly on the db. I had expected though that the autosave feature was already implem...