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.

Sebastian A. Espindola's latest activity

Tuesday, July 27 2010
5006 ActiveSupport::BufferedLogger and us-ascii message on ruby 1.9.x was updated in Ruby on Rails
  • Sebastian A. Espindola
    Sebastian A. Espindola commented at 11:18 PM

    I really don't think this kind of mangling belongs in MysqlAdapter.
    The mysql2 gem fixes the issue:

    ruby-1.9.2-preview3 > User.connection.quote('Sebastián').enc...

5210 encoding problem in json format response was updated in Ruby on Rails
  • Sebastian A. Espindola
    Sebastian A. Espindola commented at 10:28 PM

    Everyone running on Ruby 1.9.x and using MySQL, should use the mysql2 gem.
    It forces the use of UTF-8 and converts to/from UTF-8 automatically when needed.

Sunday, July 25 2010
5179 link_to_function and fields_for inside block - empty array in with_output_buf... was updated in Ruby on Rails
  • Sebastian A. Espindola
    Sebastian A. Espindola commented at 3:27 PM

    Right. This problem would only happen on 1.9.x, since now a string
    is a collection of encoded data.
    No other String implementations (AFAIK) respond to the encod...

  • Sebastian A. Espindola
    Sebastian A. Espindola commented at 7:59 AM

    I think I fixed the issue.
    I made a modification on line 168 of capture_helper.rb to make sure that
    output_helper responds to the encoding method before using i...

Friday, September 25 2009
3252 add_index on postgresql with long index names: migrations fail with Input str... was updated in Ruby on Rails
  • Sebastian A. Espindola
    Sebastian A. Espindola commented at 4:09 PM

    This work has bitten me to.
    I verified the same behaviour with the postgres driver
    when trying to create a 4 fields long composite index.
    I'm working on a patch...