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.

Murray Steele's latest activity

Tuesday, April 12 2011
5616 ActiveResource error parsing support for new JSON errors serialization format was updated in Ruby on Rails
  • Murray Steele
    • State changed from stale to open
    by Murray Steele at 3:33 PM

    [state:open]

    Oh! I cannot read. Re-opening.

  • Murray Steele
    Murray Steele commented at 3:10 PM

    state:open

    Yup. This is still a bug on rails 3.0.6.

    I've tried this patch and it applies on both master and 3-0-stable and, happily, fixes the problem in an app...

Wednesday, March 23 2011
6562 HABTM join tables cleared on destroy even if a before_destroy says don't was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 12:34 PM

    ps. I removed the old patches so we don't get confused (as they had the same names). I hope this isn't bad form.

  • Murray Steele
    Murray Steele commented at 12:32 PM

    Attached reworked versions of both patches.

    It seems this patch changes the current behavior such that the exception isn't re-raised. Can you possibly provide ...

Friday, March 11 2011
6562 HABTM join tables cleared on destroy even if a before_destroy says don't was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 2:56 PM
  • Murray Steele
    Murray Steele commented at 2:55 PM

    I've also attached is a patch for 3-0-stable (the original patch is for master)

  • Murray Steele
    Murray Steele created the ticket at 12:37 PM

    Given the following models:

    
    class Disesase < ActiveRecord::Base
      has_and_belongs_to_many :fleas
      before_destroy :not_if_fleas_still_carry_it
    
      protected
      ...
Thursday, February 17 2011
5922 Functional tests cannot add a route was updated in Ruby on Rails
  • Murray Steele
    • State changed from stale to open
    by Murray Steele at 6:19 PM

    [state:open]

    It's certainly still a problem as routes are cleared if we redraw them in our tests and sometimes we want the new route and our application routes....

Tuesday, December 07 2010
4346 time_select not interpreting the multi-parameter correctly was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 12:06 PM

    Just wondering about the rationale for saying that I have to provide the date bits for time? Why do I have to send the Year, Month and Date if all I care about ...

Monday, January 25 2010
3760 Make AR guess the inverse of an association if not specified was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 4:23 PM

    After discussion with Eloy in IRC it seems it's useful to put a note about some of the gotchas here.

    With this patch, AR will try to guess the association on a ...