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.

rorra's latest activity

Thursday, July 29 2010
5220 Strange character in WEBrick output - LogTailer gets out of sync with log file was updated in Ruby on Rails
  • rorra
    rorra commented at 4:25 AM

    Curtis, nice, I tried your fix and works great for me :)

Wednesday, July 28 2010
5220 Strange character in WEBrick output was updated in Ruby on Rails
  • rorra
    rorra commented at 6:07 AM

    It's something related to the bufferered logger and webrick.

    The same logger writes the content as expected on the log files, but it adds the last character of ...

  • rorra
    rorra commented at 1:43 AM

    Sorry, I didn't know what I was thinking :P

    Yes, I confirm that after a post, the last character of the process_action method is printed again when you execute ...

  • rorra
    • Tag cleared.
    by rorra at 1:25 AM
  • rorra
    • Tag set to invalid
    by rorra at 12:43 AM

    That's a parameter for IE to use UTF8 forms

    http://github.com/rails/rails/commit/25215d7285db10e2c04d903f251b79...

    
    
        Fix several known web encoding issues...
Tuesday, July 27 2010
5212 field_with_errors div not displayed for nested model form attributes was updated in Ruby on Rails
  • rorra
    • Tag changed from rails3 validations, accepts_nested_attributes_for, field_with_errors to rails3 validations, accepts_nested_attributes_for, field_with_errors, invalid
    by rorra at 11:06 PM
  • rorra
    rorra commented at 9:15 PM

    Its working ok for me with rails 3 RC and ruby 1.9.2 RC 2

    Could you attach your code so I can reproduce the error and confirm the bug?

    Thx

5210 encoding problem in json format response was updated in Ruby on Rails
  • rorra
    rorra commented at 9:54 PM

    Now that I check better, my problem was not with the to_json method, but rather with mysql :P

    Being p the record before being saved, and q the record after savi...

  • rorra
    rorra commented at 9:42 PM

    I had the same problem with mysql and a utf-8 database

    ruby-1.9.2-rc2 > p = Project.create(:name => 'áéíóú')
     => #<Project id: 2, name: "áéíóú", title: nil, de...
5213 FormHelpers generating form with method put for ActiveRecord object even afte... was updated in Ruby on Rails
  • rorra
    rorra commented at 9:05 PM

    I don't really understand what you are doing, but if you object responds true to the persisted? method, it will use the :put method, and if your object responds...