Access a view helper for a model in rails
- by Christopher
I have an Adult model with a name attribute.
If the user is logged in, I want the Adult.name to only return the first name.
Is there a way to have helpers tied to a model where you could specify Adult.helper.name?
Or a least have helpers namespaced to a model?