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.

PommyTom's latest activity

Thursday, December 03 2009
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • PommyTom
    PommyTom commented at 8:32 PM

    Jeffs' fix worked for me... Thanks!

Thursday, November 19 2009
2601 Single Table Inheritance, Polymorphic association (self-referential and norma... was updated in Ruby on Rails
  • PommyTom
    PommyTom commented at 3:10 AM

    I'm also getting this error. For the exact same reasoning as the poster.

    Forcibly overriding the _type field on the relationship to still have access to the has...

Thursday, May 14 2009
2557 Bug(?) - ActionMailer responds_to? failing to return true/false bug was updated in Ruby on Rails
  • PommyTom
    PommyTom commented at 2:25 AM

    Hi Frederick,

    Yeah, that would be fine normally, as it responds with true just for having a value. But the problem with this instance as described above, it is ...

Friday, April 24 2009
2557 Bug(?) - ActionMailer responds_to? failing to return true/false bug was created in Ruby on Rails
  • PommyTom
    PommyTom created the ticket at 10:00 AM

    Hi,
    Code base - Rails 2.3.2

    When testing the action mailer object for an existing and non-existant method the object returned is a MatchData class. I've played ...

2556 ActionMailer responds_to? failing to return true/false bug was updated in Ruby on Rails
  • PommyTom
    PommyTom commented at 9:50 AM

    Sorry - I've placed this in the wrong section. I'm unsure how to move this to 2.3 or delete.

  • PommyTom
    PommyTom created the ticket at 9:45 AM

    Wrong section sorry.

Wednesday, December 03 2008
1509 .days == .seconds bug was created in Ruby on Rails
  • PommyTom
    PommyTom created the ticket at 12:56 AM

    Hi,

    Running on Rails 2.2.2 and get the following while in console:

    Loading development environment (Rails 2.2.2)

    5.years.days => 157788000.0 days 5.years.seco...