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.

Brian Takita's latest activity

Wednesday, July 21 2010
5175 Hash#to_params does not perform escaping resulting in invalid query param str... was created in Ruby on Rails
  • Brian Takita
    Brian Takita created the ticket at 8:01 PM

    The Hash#to_params method does not escape the key and value, which causes the resultant query string to become invalid.

    {
      "param-1" => "A string with / chara...
Tuesday, April 21 2009
1642 HasOneThroughAssociation should not be a child of HasManyThroughAssociation was updated in Ruby on Rails
  • Brian Takita
    Brian Takita commented at 6:01 PM

    I'd also say that Rails in general could use a good deal of refactoring.

    Navigating some sections gives me a headache. There is some serious code debt in the fr...

  • Brian Takita
    Brian Takita commented at 5:59 PM

    +1 Code cleanup and being dry tends to be a good thing. I like the ThroughAssociationScope extraction, because it moves common code into one place and removes t...

Wednesday, February 25 2009
2065 Disconnect between :table_name_with_underscore option and primary key singula... was created in Ruby on Rails
  • Brian Takita
    Brian Takita created the ticket at 2:16 AM

    The :table_name_with_underscore primary_key_prefix_type option implies that AR should be using [table_name]_id as the primary key. However, it seems to be tryin...

Monday, May 26 2008
247 validates_associated - Detailed Validation error messages on associations was updated in Ruby on Rails
  • Brian Takita
    Brian Takita commented at 2:30 AM

    I'm in favor of not having to validates_associated.

    I think that it would be useful to attach the name of the association that owns the invalid attribute beca...

Friday, May 23 2008
247 validates_associated - Detailed Validation error messages on associations was updated in Ruby on Rails
  • Brian Takita
    Brian Takita commented at 10:47 PM

    I attached a patch.

  • Brian Takita
    Brian Takita created the ticket at 7:23 PM

    When an associated object (has_one, belongs_to, has_many, etc.) has a validation error, Rails currently gives a non-detailed error message. For example we have...