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.

Adam Byrtek's latest activity

Friday, October 02 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Adam Byrtek
    Adam Byrtek commented at 7:32 PM

    One way or another it would be nice to have this resolved by a Rails commiter.

Wednesday, September 09 2009
3165 ActiveRecord::MissingAttributeError after update to rails v 2.3.4 was updated in Ruby on Rails
  • Adam Byrtek
    • Tag changed from 2.3.4, activerecord, exception to 2.3.4, activerecord, exception, patch
    by Adam Byrtek at 10:06 AM

    Trivial patch attached, do "SELECT *" instead of "SELECT id". This is done only on a single row (LIMIT 1) so there is no need for micro-optimization.

  • Adam Byrtek
    Adam Byrtek commented at 9:37 AM

    The SQL query is fine, id is enough to do include?. The problem is that models are instantiated having only id, without other properties and after_find assumes ...

Sunday, August 10 2008
793 Missing connection management methods for the SQLite adapter was created in Ruby on Rails
  • Adam Byrtek
    Adam Byrtek created the ticket at 6:28 PM

    SQLite adapter inherits dummy connection management methods from the abstract adapter, but it should use its own implementation instead. This patch implements a...