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.

Paul Horsfall's latest activity

Tuesday, February 24 2009
1930 autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Paul Horsfall
    Paul Horsfall commented at 10:51 PM

    Tested Eloy's latest patch on top of edge (24/2/2009). Validation of associations now works as I'd expect for the case I originally had problems with - good job...

Thursday, February 12 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Paul Horsfall
    Paul Horsfall commented at 10:46 PM

    My apologies Gaspard. I just got round to looking at this and it turned out I had a validation for an attribute of the same name set on the nested model and the...

  • Paul Horsfall
    Paul Horsfall commented at 5:59 PM

    I've tried the second patch and everything looks good when creating nested models through a has many association. When creating a model through a has one associ...

Tuesday, February 10 2009
1930 [patch] autosave should validate associations even if master is invalid was updated in Ruby on Rails
  • Paul Horsfall
    Paul Horsfall commented at 10:45 PM

    Came across the same thing today. The patch works as expected, the errors are now copied across if the parent is invalid. The tests pass for me.

    +1

    On a related...

Wednesday, October 15 2008
292 Add has_many :primary_key option was updated in Ruby on Rails
  • Paul Horsfall
    Paul Horsfall commented at 4:30 PM

    Perfect, this is just what I needed. Thanks!

Wednesday, July 30 2008
678 ActiveResource instance.valid? has no validate callbacks was updated in Ruby on Rails
Saturday, April 19 2008
25 Allow if option for caches_page was created in Ruby on Rails
  • Paul Horsfall
    Paul Horsfall created the ticket at 7:35 PM

    This is a patch to allow an if option to be passed to caches_page, much as you can for session management. e.g.

    caches_page :index, :if => Proc.new { |c| !c.r...