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.

Marcello Nuccio's latest activity

Monday, March 09 2009
2182 ActiveSupport::JSON.decode cannot parse output from to_json() was created in Ruby on Rails
  • Marcello Nuccio
    Marcello Nuccio created the ticket at 5:10 PM

    ActiveSupport::JSON.decode({"1110-39-10"=>1}.to_json) throws ActiveSupport::JSON::ParseError: Invalid JSON string

    The problem is that "1110-39-10" looks like a ...

Wednesday, January 07 2009
1705 DRY with_kcode in ActiveRecord tests was created in Ruby on Rails
  • Marcello Nuccio
    Marcello Nuccio created the ticket at 1:13 AM

    with_kcode() is defined two times in ActiveRecord tests. In ActionPack this repetition is avoided defining it in module TestingSandbox and including it where ne...

1704 test_finds_migrations does not assert anything was created in Ruby on Rails
  • Marcello Nuccio
    Marcello Nuccio created the ticket at 12:53 AM

    In activerecord/test/cases/migration_test.rb the test_finds_migrations test does not test anything because it does not assert anything. The same is (almost) tru...

Saturday, January 03 2009
411 polymorphic_path breaks on uncountable resources was updated in Ruby on Rails
  • Marcello Nuccio
    Marcello Nuccio commented at 1:39 PM

    By default rails uses name_index_url as plural named route of uncountable names. The attached patch fixes build_named_route_call() to do the same while building...

Monday, December 29 2008
1663 TemplateRunner does not properly set time_zone in config/environment.rb was created in Ruby on Rails
  • Marcello Nuccio
    Marcello Nuccio created the ticket at 1:58 PM

    Given a template.rb:

    environment "config.time_zone = 'Rome'"

    rails newapp -m template.rb

    does generate a wrong config/environment.rb because time_zone is assign...

Friday, December 26 2008
1638 TemplateRunner.lib should have a &block parameter was updated in Ruby on Rails
  • Marcello Nuccio
    • Tag changed from template_runner to bug, duplicate, patch, template_runner
    by Marcello Nuccio at 6:37 PM

    Just found this bug is already fixed by patch in ticket #1618 with better tests. So this is a duplicate... sorry.

  • Marcello Nuccio
    Marcello Nuccio created the ticket at 5:56 PM

    In Rails::TemplateRunner.lib a block variable is used but not declared as parameter (&block).

    Tests included in the patch.