On one of the many Rails projects I've worked on over the years, I seem to recall using either a helper or a method on a model to generate a css id based on the model class and id. It was very useful particularly in making views more testable in RSpec/Cucumber.
I can't remember if this was part of rails, or from a plugin or something specific to the project. I've failed to find anything like this in the rails docs. Any ideas what this might have been? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

