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.

Andrew Selder's latest activity

Tuesday, October 20 2009
3395 Transaction fixtures don't work if model has a different connection than Acti... was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 5:28 AM

    When using transactional fixtures each example is wrapped in a database transactions. This transaction is started on ActiveRecord::Base's connection. However if...

Monday, September 28 2009
3302 Updated_at different for original object vs. retrieved object was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 11:40 PM

    a = ArClass.create
    b = ArClass.find(a.id)

    a.updated_at == b.updated_at => false

    It appears that when the object is created, the underlying Ruby returns a floati...

Sunday, May 10 2009
2631 Problem with find with :joins and :include in same call was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 8:47 PM

    In a model I have the following named scope: named_scope :valid, {:include => :broker, :joins => 'INNER JOIN payers ON payers.customer_id = brokers.id AND payer...

Wednesday, February 25 2009
2077 Query Cache not enabled for subsequent connections was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 11:47 PM

    If I do the following

    class Foo < ActiveRecord::Base establish_connection(:some_other_db) end

    and set a breakpoint in one of my actions, here's what I get:

    Acti...

Thursday, November 20 2008
342 Enhancements To ActionView::Helpers::TextHelper#pluralize was updated in Ruby on Rails
  • Andrew Selder
    Andrew Selder commented at 11:00 PM

    +1 Very nice. I'd also love to see the ability to have a use_delimiter options that would allow numbers to be delimited a la number_with_delimiter.

Tuesday, August 12 2008
147 [PATCH] collection_select not displaying :prompt when value present was updated in Ruby on Rails
  • Andrew Selder
    • Title changed from collection_select not displaying :prompt when value present to [PATCH] collection_select not displaying :prompt when value present
    • Tag set to actionpack, collection_select, patch
    by Andrew Selder at 9:29 PM
809 reloading a record does not update value of new_record? was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 9:27 PM

    The history behind the bug here is a little strange.

    I have a project that access a DB where all writes have to use stored procedures (don't blame me, I didn't...

Tuesday, May 13 2008
147 collection_select not displaying :prompt when value present was updated in Ruby on Rails
  • Andrew Selder
    Andrew Selder commented at 2:32 PM

    Attached a new copy of the patch. This one should work.

Thursday, May 08 2008
147 [PATCH] collection_select not displaying :prompt when value present was created in Ruby on Rails
  • Andrew Selder
    Andrew Selder created the ticket at 8:03 PM

    I have form that has the following line:

    Parking
    <%= ps.collection_select 'ext_parking_id', @parking_options, :id, :name, :prompt => '- Choose Parking Type -...