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.

Aaron Patterson's latest activity

Wednesday, June 03 2009
2749 Can I get a plus one on my plus one? was created in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson created the ticket at 6:42 AM

    Yo dawg, I heard you liked plus ones with your evals. So I put a plus one in your eval so you can get line numbers in your debugs.

    @wycats, you need to get onli...

Wednesday, April 22 2009
2190 Add Nokogiri as XmlMini backend was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 4:29 PM

    Did you try ActiveSupport::XmlMini?

  • Aaron Patterson
    Aaron Patterson commented at 4:19 PM

    I suppose I would do this in my environment.rb file.

Sunday, March 15 2009
2243 Nokogiri back end should not be so clever was created in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson created the ticket at 9:54 PM

    I've made the nokogiri back end be less clever, resulting in easier to read code and faster execution time.

2190 Add Nokogiri as XmlMini backend was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 9:43 PM

    @Stephen

    You're right. But LibXML seems to produce different results than REXML, where Nokogiri matches the REXML output.

    I would say that because of that, this...

Wednesday, March 11 2009
2190 Add Nokogiri as XmlMini backend was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 4:49 AM

    Hallo! I've attached a patch that fixes the nokogiri back end so that all rails tests pass.

Tuesday, March 10 2009
2190 Add Nokogiri as XmlMini backend was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 9:05 PM

    I can fix these. But I must make it clear that it does not behave dangerously. Expansion count is limited, but nokogiri corrects the document and doesn't raise ...

  • Aaron Patterson
    Aaron Patterson commented at 8:49 PM

    What version of nokogiri? How are you executing the tests? They all pass for me.

    Also, do you have tests for the LibXML version? I'm glad to match behavior if i...

  • Aaron Patterson
    Aaron Patterson created the ticket at 12:34 AM

    I've attached a patch that will add Nokogiri as an XmlMini back end parser. I also added some XmlMini tests.

Monday, July 14 2008
580 validates_uniqueness_of does not escape column names was updated in Ruby on Rails
  • Aaron Patterson
    Aaron Patterson commented at 3:22 PM

    @Alex, no. That is escaping table names. Column names need to be escaped too.