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

Tuesday, February 08 2011
6381 fields_for with inline blocks and nested attributes already persisted does no... was updated in Ruby on Rails
Sunday, February 06 2011
6381 fields_for with inline blocks and nested attributes already persisted does no... was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 9:49 PM

    When using nested attributes and editing a record, the fields_for block does not render properly.

    This does not work:

    <%= f.fields_for(:addresses) { |builder| ...
Thursday, November 11 2010
5658 Layout option is ignored when partial renders a nested partial. was updated in Ruby on Rails
  • Carlos Antonio da Silva
    • Title changed from Layout option in replace_html is ignored when partial renders a sub partial. to Layout option is ignored when partial renders a nested partial.
    by Carlos Antonio da Silva at 1:58 PM

    I got into the same issue, actually there are two different issues: one is when you render a layout giving a block, and the layout contains partials and then yi...

  • Carlos Antonio da Silva
    • Tag set to action_view, layout, partial, patch, render
    by Carlos Antonio da Silva at 1:57 PM

    I got into the same issue, actually there are two different issues: one is when you render a layout giving a block, and the layout contains partials and then yi...

Friday, August 27 2010
4429 Templates that use with_options... was updated in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva commented at 7:51 PM

    This error just happened to me while in development, and I created a test case showing the issue.
    The same patch attached is also in this pastie: http://pastie....

5469 Date Helper cleanup was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 2:22 AM

    I did a small cleanup in action_view/date_helper, removing some unuseful begin/end stuff and refactoring prompt tag method.

Wednesday, August 11 2010
5357 Layout for does not accept objects as in the docs from Rails 2.3 was updated in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva commented at 2:25 PM

    From the docs:

    <%= render :layout => "my_layout" do |customer| %>
      Hello <%= customer.name %>
    <% end %>
    
    # The layout
    <html>
      <%= yield Struct.new(:name).new...
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 2:22 PM
Sunday, August 01 2010
5267 Label with I18n and html options require nil as text param was created in Ruby on Rails
  • Carlos Antonio da Silva
    Carlos Antonio da Silva created the ticket at 7:59 PM

    This patch fixes the label form helper to allow passing html options without forcing the text param to be given as nil. Better explained by examples:

    Before: f...