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.

wtn's latest activity

Friday, December 10 2010
6143 Please close, user error. was updated in Ruby on Rails
  • wtn
    • Title changed from pg uses wrong unix domain socket to Please close, user error.
    by wtn at 4:06 AM

    no text.

  • wtn
    wtn created the ticket at 3:21 AM

    I'm using pg 0.10.0 with PostgreSQL 9.0.1 and ActiveRecord 3.0.3.

    pg could not connect to server because it looks for the domain socket at /var/run/postgresql/....

Tuesday, November 23 2010
5959 It is no longer possible to use Non-Integer id columns in rails 3 was updated in Ruby on Rails
  • wtn
    wtn commented at 12:04 PM

    Can you dump the schema and show us that?

4347 Add foreign key support to migrations and schema.rb dump was updated in Ruby on Rails
  • wtn
    wtn commented at 11:58 AM

    -1

    I'm fine with using existing gems and leaving this out of the official AR.

Saturday, November 20 2010
4337 Tweaks to make ActiveRecord Fiber-friendly was updated in Ruby on Rails
  • wtn
    wtn commented at 5:59 AM

    +1

    Hope to see this patch get accepted.

Saturday, March 27 2010
4123 find_each ignores limit was updated in Ruby on Rails
  • wtn
    • Tag changed from activerecord 3.0 to activerecord 3.0, 3.0.0.beta, activerecord, find_each, limit, scope
    by wtn at 11:48 PM

    In ActiveRecord 2.3, one could iterate over the first 3000 of 10000 records without loading all 3000 at once. In ActiveRecord 3.0, this is not possible.

    find_ea...

Sunday, March 07 2010
4123 find_each ignores limit was created in Ruby on Rails
  • wtn
    wtn created the ticket at 10:45 AM

    The following code iterates over the entire table, ignoring the limit scope:

    klass.limit(3).find_each {|obj| puts obj.to_s}

    In ActiveRecord 2.3, one could itera...

Monday, September 28 2009
2357 Predictable Table Aliases in Joins was updated in Ruby on Rails