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.

Hector E. Gomez Morales's latest activity

Tuesday, April 21 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
  • Hector E. Gomez Morales
    Hector E. Gomez Morales commented at 1:14 AM

    This patch is concerned with erb as the default templating engine, that I think a lot of people use. If you have a particular haml template that presents the sa...

Saturday, April 11 2009
2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
  • Hector E. Gomez Morales
    Hector E. Gomez Morales commented at 4:54 PM

    Sorry again posting the code

    
    
    # activesupport/lib/active_support/core_ext/string/multibyte.rb
    def mb_chars
      if ActiveSupport::Multibyte.proxy_class.wants...
  • Hector E. Gomez Morales
    Hector E. Gomez Morales commented at 4:51 PM

    Well the problem is that $KCODE is not set in ruby19 so the call to mb_chars doesn't proxy the string. So that why I did the explicit wrapping.

    @@@ Ruby actives...

Friday, April 10 2009
2006 with_scope & :having option bug with 2.3 RC1 was updated in Ruby on Rails
  • Hector E. Gomez Morales
    Hector E. Gomez Morales commented at 8:48 PM

    I think the problem is in SQLite3.

    If we look to the query it has some ambiguity because it is aliasing SUM(salary) to salary but the table has a salary column ...

2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
  • Hector E. Gomez Morales
    • Tag changed from 2.3.2, activerecord, bug, patch to 2.3.2, activerecord, bug, patch, ruby19
    by Hector E. Gomez Morales at 4:38 PM
  • Hector E. Gomez Morales
    Hector E. Gomez Morales created the ticket at 4:36 PM

    From #2188:

    Hello! We've got the same problem! Only the error occurs when we fetch data from the database. We're using Mysql and Charset is UTF-8, but the Activ...

2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
Monday, April 06 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
Friday, March 27 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
  • Hector E. Gomez Morales
    • Tag changed from 2.3-rc2, ruby1.9 to 2.3-rc2, patch, ruby1.9
    by Hector E. Gomez Morales at 6:58 PM

    The problem is erb code in ruby 1.9 distribution. When it compiles the template code it forces a 'ASCII-8bit' encoding, the problem is when the template code ha...

Monday, February 23 2009
1940 [PATCH] Template runner gem method with :lib => false option gives incorrect ... was updated in Ruby on Rails