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 Lopez's latest activity

Tuesday, January 26 2010
2666 yajl-ruby as a JSON parsing backend was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 4:42 PM

    Here's the patch, hopefully now there's no excuse ;)

Wednesday, January 06 2010
2666 yajl-ruby as a JSON parsing backend was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 8:01 PM

    What do you guys think about getting this into core?
    My fork of Rick's plugin should be up to date with both changes to the yajl-ruby API and the Rails JSON bac...

Wednesday, August 12 2009
2666 yajl-ruby as a JSON parsing backend was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 6:16 PM

    So the strange thing is, yajl-ruby only overrides to_json if you specifically require 'yajl/json_gem' somewhere. Your yajl-rails plugin doesn't do that, so I'd ...

Wednesday, July 22 2009
2894 Rake db:create and db:drop do not work with jdbcmysql or jdbcpostgresql adapters was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 6:59 PM

    So this problem is actually regarding any db driver that isn't named exactly 'mysql', 'postgres' or like 'sqlite'.
    Even with the patch attached to this ticket, ...

Sunday, May 31 2009
2659 ParamsParser and request body streams was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 2:50 AM

    So I know this ticket has been marked resolved, but this patch compliments the other two by enabling true IO parsing for the libxml, nokogiri and rexml backends...

Sunday, May 17 2009
2666 yajl-ruby as a JSON parsing backend was created in Ruby on Rails
  • Brian Lopez
    Brian Lopez created the ticket at 11:26 PM

    Add yajl-ruby as one of the JSON parser backends in Rails 3 (and 2.3 once it's back-ported).

    This would be especially useful in Rails 3 now that the XML and JSO...

2659 ParamsParser and request body streams was updated in Ruby on Rails
  • Brian Lopez
    Brian Lopez commented at 8:44 PM

    I must have missed this in the docs, but apparently YAML.load can accept an IO. Appears to work exactly like passing it a string.

  • Brian Lopez
    Brian Lopez commented at 6:44 PM

    Also, YAML.load_stream was changed back to YAML.load - was this because I didn't specify that in the ticket subject?

  • Brian Lopez
    Brian Lopez commented at 5:52 PM

    What was the reason for removing the yajl-ruby backend and updated JSON test?
    I realize now that I should have noted somewhere that the JSON test and yajl.rb ba...

  • Brian Lopez
    Brian Lopez commented at 4:23 AM

    Although I've only added support such that the API doesn't break for the existing parsers, the only one that actually parses off the IO itself (without simply c...