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.

There was a problem

You must be a member of this account.

Brad Gessler's latest activity

Saturday, March 12 2011
6553 has_many :conditions => 'id = #{id}' interpolation doesn't work when :depende... was updated in Ruby on Rails
  • Brad Gessler
    Brad Gessler commented at 7:27 PM

    Single quote string interpolation is deprecated in the edge build in favor of procs (good!) which fixes this issue. This patch just adds :delete_all to the test...

Friday, March 11 2011
6553 has_many :conditions => 'id = #{id}' interpolation doesn't work when :depende... was updated in Ruby on Rails
  • Brad Gessler
    • Tag changed from rails 2.3.11, activerecord, regression to rails 2.3.11, rails 3.0.4, activerecord, regression
    by Brad Gessler at 12:35 AM
Thursday, March 10 2011
6553 has_many :conditions => 'id = #{id}' interpolation doesn't work when :depende... was updated in Ruby on Rails
  • Brad Gessler
    Brad Gessler commented at 10:51 PM

    It effects the 3.0.x branch as well. Here's what one of those failures look like:

      5) Error:
    test_dependence_with_missing_association(HasOneAssociationsTest):...
  • Brad Gessler
    • Title changed from has_many :conditions => 'id = #{id}' interpolation doesn't work when :dependent => :delete_all is to has_many :conditions => 'id = #{id}' interpolation doesn't work when :dependent => :delete_all is set
    • Assigned user set to Andrew White
    by Brad Gessler at 9:54 PM
  • Brad Gessler
    Brad Gessler created the ticket at 9:19 AM

    When providing an interpolated value to the :conditions key in a has_many association where the :dependent key is set to :delete_all

    has_many :clients_with_int...

Sunday, April 04 2010
4326 URL Generation for routes that point to a Rack application include the contro... was created in Ruby on Rails
  • Brad Gessler
    Brad Gessler created the ticket at 10:39 PM

    Given a route file:

    SocketChat::Application.routes.draw do |map|
      resources :channels do
        resources :people
        resources :events do
          collection do
      ...
Monday, September 15 2008
341 Calling 'last' on a has_many assoication where the order is specified as a sy... was updated in Ruby on Rails
  • Brad Gessler
    Brad Gessler commented at 7:26 PM

    I just got bit by this as well because of the outdated rails docs.

Sunday, September 07 2008
127 Params hash is incorrect for nested arrays was updated in Ruby on Rails
  • Brad Gessler
    • Tag set to actionpack, bug
    by Brad Gessler at 7:33 PM

    I've had this exact same problem. Rails seems to only parse two levels deep because it doesn't remember the previously seen hash-keys.

    Don't be so quick to clos...

Friday, September 05 2008
974 attribute_type is not set to null if :dependent => :nullify is specified for ... was created in Ruby on Rails
  • Brad Gessler
    Brad Gessler created the ticket at 5:56 AM

    Given the code

    
    class Person
      has_one :thingy, :as => :thingable, :dependent => :nullify
    end
    
    class Thing
      belongs_to :thingable, :polymorphic => true
    end
    

    ...

Friday, August 01 2008
741 parse_formatted_request_parameters does not respect parameters[:format] was created in Ruby on Rails
  • Brad Gessler
    Brad Gessler created the ticket at 5:12 PM

    I have been working on a project where I need to parse various flavors of XML that are POSTed from various SMS message aggregators into request_parameters. I t...