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.

Di Marcello's latest activity

Friday, June 19 2009
2660 InstanceTag to_label_tag id attribute was updated in Ruby on Rails
  • Di Marcello
    Di Marcello commented at 1:17 AM

    on rails 2.3.2 the github master branche at the time of posting

Wednesday, June 03 2009
2660 InstanceTag to_label_tag id attribute was updated in Ruby on Rails
  • Di Marcello
    Di Marcello commented at 11:49 AM

    Why doesnt anyone picks this up?
    Did i do something wrong? it isnt such a big fix

Sunday, May 17 2009
2660 InstanceTag to_label_tag id attribute was updated in Ruby on Rails
  • Di Marcello
    Di Marcello commented at 2:28 PM

    damnit!!!! my lines get messed up.
    the plus sign was the mark. So the line I added was only:

    name_and_id["id"] = name_and_id.delete("for")
    
  • Di Marcello
    Di Marcello commented at 2:26 PM

    somehow something went wrong in my ticket body.
    it should look like this:

    name_and_id = options.dup
    + name_and_id["id"] = name_and_id.delete("for")

  • Di Marcello
    Di Marcello created the ticket at 2:24 PM

    InstanceTag method to_label_tag produces the wrong for attribute when an id options is given.

    The solution is to add the marked line in to_label_tag:

    name_and_i...

Thursday, March 12 2009
2219 nested_attributes_for belongs_to polymorphic was created in Ruby on Rails
  • Di Marcello
    Di Marcello created the ticket at 11:07 AM

    I don't know if this is a missing functionality, or there is a trick i couldnt find.

    But when i try to create a new belongs_to polymorphic association through a...

Wednesday, March 11 2009
2036 Linking and unlinking via accepts_nested_attributes_for was updated in Ruby on Rails
  • Di Marcello
    Di Marcello commented at 10:00 PM

    yeah sorry about the tests m8's...

    i don't really test.. later i tested it on my own app (without a real test) found some typo's and sort.

    committed those to. b...

Monday, March 09 2009
2036 Linking and unlinking via accepts_nested_attributes_for was updated in Ruby on Rails