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.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Make sure label_tag accepts symbols for name argument

#719

At the moment if you use label_tag with a symbol, you get an error

>> helper.label_tag :foo
NoMethodError: undefined method `humanize' for :foo:Symbol

Attached is a patch to fix this :-)

Reported by Jan De Poorter · July 29th, 2008 @ 12:14 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [7aaf1689dda863b72623f0e52ad87e2b739cb22b]) Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]

    Signed-off-by: Pratik Naik

    http://github.com/rails/rails/co...

    July 29th, 2008 @ 12:40 PM

  2. Repository
    Repository

    (from [2752cebb8b707989c13e45be7d62b77196c42b91]) Fix that label_tag doesn't take a symbol for a name. [#719 Make sure label_tag accepts symbols for name argument state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    August 25th, 2008 @ 09:28 AM