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.

Carlos Antonio da Silva's latest activity

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
  • Carlos Antonio da Silva
    Carlos Antonio da Silva commented at 9:33 PM

    I added a new patch updating the test added by this patch, asserting the content generated for link_to_function is ok. The current test has no assertion.

Thursday, June 24 2010
4962 Hidden fields are wrapped by field error proc was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 11:20 PM

    The attached patch fixes this behavior, not wrapping hidden inputs with field error proc.

Tuesday, June 22 2010
4936 Namespace options in routes was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 9:42 PM

    The attached patch allow to pass options to namespace in routes, such as :path, as in the following example:

    namespace :customers, :path => 'clientes' do
      roo...
Saturday, June 19 2010
4886 Auto link test with other protocols missing file test was updated in Ruby on Rails
Thursday, June 17 2010
4886 Auto link test with other protocols missing file test was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 7:07 AM

    There was a missing test to file scheme from last commits related to auto_link and different protocols, such as "ftp:" and "file:". This was done based on the c...

Wednesday, May 19 2010
4648 Autosave association class names inside tests with nested attributes are misp... was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 3:02 AM

    The attached patch fixes some typos in test class names from Autosave Association, and also refactor a line from last commits (ticket #4242).

Saturday, May 15 2010
4604 number_to_currency fails with "NoMethodError: undefined method `>=' for nil:N... was updated in Ruby on Rails
  • Carlos Antonio da Silva
    • Tag changed from rails 3.0.0.beta3 to rails 3.0.0.beta3, action_view, number_helper
    by Carlos Antonio da Silva at 5:06 PM

    Just tested here following the same steps, using both Ruby 1.8.7-p249 and 1.9.2-head with Rails 3.0.0.beta3 in a fresh app, nothing wrong.

    ruby-1.8.7-p249 > fo...
4601 Missing require in active_support/core_ext/object/with_options was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 1:19 PM

    with_options yields a new ActiveSupport::OptionMerger, but does not require it. This patch adds the missing require line.

Monday, March 08 2010
4127 Associations bug with :dependent => [:delete or :destroy] was updated in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva commented at 12:58 AM

    Just noticed the tests were passing both before and after the patch, so here is another patch with new tests and a test fixed.

Sunday, March 07 2010
4127 Associations bug with :dependent => [:delete or :destroy] was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 11:01 PM

    It seems last commits refactoring associations introduced a small bug where associations with :dependent => :delete or :destroy were calling association.destroy...