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.

Arya Asemanfar's latest activity

Wednesday, September 23 2009
3251 Dirty attributes use inconsistent accessors for before/after was created in Ruby on Rails
  • Arya Asemanfar
    Arya Asemanfar created the ticket at 5:14 PM

    The dirty attributes hash accesses the original value using read_attribute and uses send(attr) for the current value.

    This leads to inconsistencies when an attr...

Wednesday, May 14 2008
189 ActiveRecord::AssociationTypeMismatch with same class name -- added helpful e... was updated in Ruby on Rails
  • Arya Asemanfar
    Arya Asemanfar commented at 4:30 PM

    Hi Pratik,

    If the suggestion-type language is too superfluous for a Rails error message, may I suggest two alternatives that avoids the Windows-esque type err...

  • Arya Asemanfar
    Arya Asemanfar commented at 2:13 AM

    Sorry about that. I didn't know I wasn't supposed to fork Rails unless it's some big change. I deleted my fork.

  • Arya Asemanfar
    Arya Asemanfar commented at 12:12 AM

    I'm not sure if this is required or not, but here is my commit on my fork of Rails on GitHub:

    http://github.com/arya/rails/com...

  • Arya Asemanfar
    Arya Asemanfar created the ticket at 12:10 AM

    ActiveRecord raises an exception when the expected class for an association differs from the class of object trying to be assigned.

    Example:

    @post.comments <...