your_default calls name directly
Reported by Bryan Larsen | December 8th, 2011 @ 11:07 AM | in Hobo 1.3 (Rails 3)
your_default in helper.rb calls 'name' on a model, which often doesn't exist. It should be using the name_attribute.
Comments and changes to this ticket
-
Bryan Larsen December 8th, 2011 @ 11:08 AM
Actually, the only user of your_default is
<your>
, which later on calls the tag<name no_wrapper/>
, which knows how to properly look up a name. So we should just use that and get rid ofyour_default
entirely. -
Bryan Larsen December 8th, 2011 @ 11:26 AM
- State changed from new to resolved
(from [a5db6786b487650d2d26aad43dfd20922bb4a152])
your_default
in helper.rb was broken. The only usage of it was unnecessary, so remove it.[#986 state:resolved] https://github.com/tablatom/hobo/commit/a5db6786b487650d2d26aad43df...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 984 Cookbook forgot_password is broken the show-page for users issue only happens on other peopl...