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.

sds's latest activity

Thursday, October 21 2010
5669 Setting session and cookie variables in same request breaks session in follow... was updated in Ruby on Rails
  • sds
    • Tag changed from rails 2.3.9, active_record_store, cookies, patch, sessions to rails 2.3.10, rails 2.3.9, active_record_store, cookies, patch, sessions
    by sds at 12:57 PM

    +1 for this fix. The issue still exists in 2.3.10.

    And not just for Active Record session store.

Saturday, September 12 2009
3128 Check for primary key in habtm when the association is defined was updated in Ruby on Rails
  • sds
    sds commented at 8:42 AM

    Here is a patch to fix the issue in this code I reported in ticket #3190

    • the issue being that has_primary_key? uses the ActiveRecord::Base's connection, which ...
Friday, September 11 2009
3190 HABTM no longer works when using multiple databases was created in Ruby on Rails
  • sds
    sds created the ticket at 11:03 AM

    The check has_primary_key? in has_and_belongs_to_many_association.rb fails when using multiple databases because it uses ActiveRecord::Base's connection and not...

Monday, September 07 2009
3156 mysql_adapter.rb redefines all_hashes multiple times under ruby 1.9 was created in Ruby on Rails
  • sds
    sds created the ticket at 11:31 AM

    The instance_methods test in mysql_adapter.rb is not correct as ruby 1.9 returns symbols in instance_methods and not strings.

    This simple patch adds an or condi...

Tuesday, October 28 2008
1283 [patch] Storing query cache in Thread.current breaks when multiple DBs are used was updated in Ruby on Rails
  • sds
    • Title changed from Storing query cache in Thread.current breaks when multiple DBs are used to [patch] Storing query cache in Thread.current breaks when multiple DBs are used
    • Tag changed from 2.2.rc1, activerecord, cache, query to 2.2.rc1, activerecord, cache, patch, query
    by sds at 9:14 AM

    I attach a patch that fixes this along the lines of the above, but slightly improved.

  • sds
    sds created the ticket at 8:38 AM

    We use rails with multiple databases. Some models come from one database, and some from another. We use establish_connection to make sure the models are connect...

Friday, October 24 2008
1261 Route recognition incorrectly reports NotImplemented when using extended reco... was created in Ruby on Rails
  • sds
    sds created the ticket at 7:00 AM

    In the rails code comments it suggests that Route#recognition_conditions may be redefined by a plugin to allow for routing to depend on different and new condit...

Monday, June 02 2008
305 Size reports incorrectly for collections when more than one item is added wit... was updated in Ruby on Rails
  • sds
    sds commented at 11:23 PM

    Actually the creation of a new array in the patched version is not needed (select already returns an array), I attach new patch containing this code:

    unsaved_...

  • sds
    sds created the ticket at 10:48 PM

    Adding more than one item to a collection using collection.build and then subsequently checking the size of the collection with the size method fails to work c...