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.

Josh's latest activity

Monday, December 29 2008
1665 date select within fields for and index = nil was updated in Ruby on Rails
  • Josh
    Josh commented at 9:43 PM

    Here is the patch I submitted for the date_select with an index within fields_for bug:

    http://rails.lighthouseapp.com/p...

  • Josh
    Josh commented at 9:22 PM

    Sorry, the formatting didn't work before

    fields_for "user", :index => nil do |ff|

    ff.date_select :dob

    end

    renders as:

    select id="user_dob_1i" name="user[dob(1i)...

  • Josh
    Josh created the ticket at 9:19 PM

    fields_for "user", :index => nil do |ff| ff.date_select :dob end

    renders as:

1666 date select within fields for with index was updated in Ruby on Rails
  • Josh
    Josh commented at 9:42 PM

    Also noticed this related bug:

    http://rails.lighthouseapp.com/p...

  • Josh
    Josh created the ticket at 9:41 PM

    date_selects within fields_for don't add the index:

    fields_for "user", :index => 1 do |ff|

    ff.date_select :dob

    end

    renders as:

    select id="user_dob_1i" name="use...