#500 ✓resolved
Iain

view_hint.model_name is missing spaces

Reported by Iain | September 24th, 2009 @ 01:49 AM | in Hobo 1.0 - Final

At the moment if you have a model with more than one "word" in the name then the model_name view hint is just the model-name in camelcase. For example, if you have a model called "LighthouseTicket" then the model_name view hint will just be "LighthouseTicket".

As the purpose of view hints is to give human readable names for things, surely the view hint for "LighthouseTicket" should be "Lighthouse Ticket" (with a space).

This could be easily fixed using the "titleize" method, however I can't find where this is being set by default.

Comments and changes to this ticket

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.

New-ticket Create new ticket

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

Referenced by

Pages