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.

Marek Kowalski's latest activity

Monday, October 26 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Marek Kowalski
    Marek Kowalski commented at 10:09 AM

    Rob, of course you are right, this is sensible approach. But you also have to take into consideration that some lame developer could forget about accessing the ...

Sunday, October 25 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Marek Kowalski
    Marek Kowalski commented at 10:02 AM

    Rob,

    In fact in Rails 2.3.2 the after_find filter was not fired but I found out about it just when I was debugging the issue with missing attributes. Why I thin...

  • Marek Kowalski
    Marek Kowalski commented at 9:54 AM

    Rob,

    In fact in Rails 2.3.2 the after_find filter was not fired but I found out about it just when I was debugging the issue with missing attributes. Why I thin...

Saturday, October 24 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Marek Kowalski
    Marek Kowalski commented at 12:40 PM
    1. In my opinion #exists? should instantiate the object. At least I would expect the after_find filter to be fired.
Thursday, September 17 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Marek Kowalski
    Marek Kowalski commented at 4:34 PM

    I spend some time debugging this issue and the problem is with the ActiveRecord::Base.exists? method. In Rails 2.3.2 it looked like this:

         def exists?(id_o...