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.

Rory O's latest activity

Thursday, October 29 2009
3440 Callbacks not being called with validations present was updated in Ruby on Rails
  • Rory O
    Rory O commented at 7:59 PM

    Consider this ticket me being a gigantic idiot. If I could pick myself being responsible, I would.

  • Rory O
    Rory O commented at 7:27 PM

    Sorry for the formatting, thought I had it

    A normal Person class that fails on creation:

    class Person < ActiveRecord::Base
      before_create { raise }
    end
    

    A fai...

  • Rory O
    Rory O created the ticket at 7:24 PM

    To reproduce, consider a Person basic model with an attribute of name:string, with the requisite DB table. Now add a failing callback to cause an error as such:

    ...