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.

tribalvibes's latest activity

Tuesday, October 26 2010
5865 render :action should accept a :locals hash just like render :template and :p... was created in Ruby on Rails
  • tribalvibes
    tribalvibes created the ticket at 12:24 AM

    render :action does not allow you to pass a :locals hash, which it should for consistency as all the other flavors of render allow this. (2.3.x)

    Please (someone...

524 render :template observes locals, so should render :action was updated in Ruby on Rails
  • tribalvibes
    • Title changed from render :template observes locals to render :template observes locals, so should render :action
    by tribalvibes at 12:21 AM

    Actually this is still a problem as render :action does not allow you to pass a :locals hash, which it should for consistency as all the other flavors of render...

Wednesday, October 06 2010
1339 AR::Base should not be nuking its children, just because it lost interest was updated in Ruby on Rails
  • tribalvibes
    • Tag changed from activerecord, bug, dependencies, reload to activerecord, associations, bug, dependencies, reload
    by tribalvibes at 5:59 AM

    @koz Yes, good idea about having method_missing spit out an exception with a detailed treatise and link to this ticket. That would have saved countless infuriat...

Thursday, September 30 2010
2182 [PATCH] ActiveSupport::JSON.decode cannot parse output from to_json() was updated in Ruby on Rails
  • tribalvibes
    • Tag changed from active_support, json, patch to active_support, datetime, iso8601, json, patch
    by tribalvibes at 11:30 PM

    Hello, there is a further problem with this ActiveSupport::JSON::DATE_REGEX in that it purports to be ISO8601 compliant but does not parse the <date>T<time>Z jo...

Friday, September 17 2010
1756 has_one with :foreign_key & :primary_key bug was updated in Ruby on Rails
  • tribalvibes
    • Tag changed from activerecord, foreign_key, patch, primary_key to 2.3.10, 2.3.8, activerecord, foreign_key, has_many, patch, primary_key
    • Importance changed from to High
    by tribalvibes at 9:12 AM

    Similar to #1633 which is still a bug in 2.3.8
    has_many association.create doesn't set the new record fk correctly when the association pk is designated with :p...

1633 has_many with :primary_key option bug was updated in Ruby on Rails
  • tribalvibes
    • Tag changed from 2.2, has_many, primary_key to 2.3.10, 2.3.8, 2.3.x, has_many, primary_key
    by tribalvibes at 9:09 AM

    This is still a bug in 2.3.8. Seems the fixes have not been integrated?

    class Service < ActiveRecord::Base
    # attributes: pk id, proxy_id, etc.
    
      has_many :cli...
Saturday, August 21 2010
5426 ConnectionAdapter.create_table generates '()' when field list is empty was created in Ruby on Rails
  • tribalvibes
    tribalvibes created the ticket at 11:48 PM

    With Rails/ActiveRecord 2.3.8 I'd like to do:

        AnyModel.connection.create_table( 'temp_any_model', temporary: true, id: false, options: 'like any_model' )
    

    ...

Monday, March 29 2010
3891 Hash#symbolize_keys! performance was updated in Ruby on Rails
  • tribalvibes
    tribalvibes commented at 10:23 PM

    Could you please show the data that generates those dubious benchmarks ?
    For the (typical?) case where the keys are all strings to be symbolized, and not Fixnum...

Sunday, March 28 2010
2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • tribalvibes
    tribalvibes commented at 3:23 AM

    @arzvi Here is a rollup of the patch based on Rails 2.3.5 release. Just drop this in your config/initializers. It omits the tests but "seems to work" for me wit...