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.

This project is archived and is in readonly mode.

Broken validations with custom accessors

#3438

Validations are broken with custom accessors. See attached example.

Reported by Alexander Mankuta · October 29th, 2009 @ 12:57 PM

State: invalid
Milestone: none
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    Overriding accessors defined by ActiveRecord::Base is bound to cause trouble if you're not careful. Rails doesn't and shouldn't try to support doing things like this. This can be marked as invalid.

    April 15th, 2010 @ 08:51 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to invalid

    April 15th, 2010 @ 10:48 PM