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.

Thomas Lee's latest activity

Friday, March 06 2009
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 10:09 PM

    FWIW, the patch(es) provided to date are no longer relevant with the move to Rack in 2.3 and beyond.

    I'm not sure if anybody's still interested in the semantics...

Thursday, December 04 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 11:37 AM

    @Michael Johnston: does just fine with nesting and checkboxes, but ActionView::Helpers::FormHelper::InstanceTag#to_check_box_tag needs to be modified so that th...

Wednesday, October 08 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 10:48 AM

    Any feedback on this patch Michael?

Tuesday, October 07 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 8:19 AM

    In case it isn't immediately obvious from the patch, this will allow folks to override the default parsers for URL and MULTIPART encoded form data as follows:

    ...
Monday, October 06 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 2:24 PM

    Alright, here's patch #1 which restructures the guts of AbstractRequest to make it a little easier to reuse the code in there for custom UrlEncodedPairParsers. ...

  • Thomas Lee
    Thomas Lee commented at 1:29 PM

    Sounds good. I'll shuffle things around a bit and submit the changes either tonight or tomorrow. Thanks for the support.

  • Thomas Lee
    Thomas Lee commented at 1:23 PM

    Sure thing. Before I submit another patch, should the old parser still be the default?

  • Thomas Lee
    Thomas Lee commented at 9:22 AM

    Ah, I wasn't aware of that one.

    I can't directly use it myself, but if I actually remove my changes to add the pair_parser option, this would provide a suitable...

Saturday, October 04 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    Thomas Lee commented at 12:11 AM

    Here's a patch implementing pluggable UrlEncodedPairParsers. You can switch between parsers using the config.action_controller.pair_parser configuration setting...

Friday, October 03 2008
1142 Improved parameter parsing for complex forms was updated in Ruby on Rails
  • Thomas Lee
    • Title changed from Simplified parameter parsing code to Improved parameter parsing for complex forms
    by Thomas Lee at 8:58 AM

    Changing the description of this ticket to better reflect what I'm trying to achieve with this.