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.

James Healy's latest activity

Wednesday, May 26 2010
4681 over-escaping of content_for in 2.3.7 was updated in Ruby on Rails
  • James Healy
    James Healy commented at 1:42 AM

    the content_for issue was resolved in 2.3.8, but I'm still getting the same issue as Matthew when concatenating strings in form builders.

    I haven't tested yet, ...

Monday, May 24 2010
4681 over-escaping of content_for in 2.3.7 was created in Ruby on Rails
  • James Healy
    James Healy created the ticket at 5:05 PM

    In 2.3.7 (and not 2.3.6) content passed from my view to the layout via a content_for block is being over-escaped. I am not using the rails_xss plugin yet.

    Given...

Friday, February 05 2010
3862 cryptic "Routing Error" when ApplicationController has a bug was created in Ruby on Rails
  • James Healy
    James Healy created the ticket at 2:51 PM

    In a brand new, empty rails 3.0.0.beta app that has the following application controller:

    class ApplicationController < ActionController::Base
      include Module...
Wednesday, September 23 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
  • James Healy
    James Healy commented at 7:34 AM

    "I'm not sure why people are using multibtye characters in most html... shouldn't you be using html entities?"

    There's nothing saying you should use entities is...

Sunday, July 19 2009
2628 Ruby 1.9 and ActiveSupport was updated in Ruby on Rails
  • James Healy
    James Healy commented at 1:22 PM

    +1 to this patch.

    An alternative might be to output a warning to the log file if a template contains invalid UTF-8 bytes, then use iconv to strip the offending ...

2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
  • James Healy
    James Healy commented at 2:21 AM

    What's the best way for me to get feedback on my patch?

    I'm still in two minds about whether the encoding of strings from the database should be fixed in the DB...

Saturday, July 18 2009
2497 Rack in Rails 2.3.2 throws fatal error with small uploads was updated in Ruby on Rails
  • James Healy
    James Healy commented at 6:33 AM

    Oh, my bad. I just had to apply the patch to the rack gem as well as the vendored copy in rails 2.3.2.

    Apologies for the noise!

  • James Healy
    James Healy commented at 6:30 AM

    The patch doesn't seem to help on my system. I'm getting this error when I try to upload a UTF-8 text file via a form (only on ruby 1.9 obviously).

Saturday, July 04 2009
2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
Wednesday, June 17 2009
2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
  • James Healy
    James Healy commented at 2:15 AM

    I decided to investigate further and picked MySQL as my guinea pig.

    I can see two possible approaches.

    1. We patch the MySQL/Ruby driver to return strings marked...