On Nov 26, 4:13 pm, Rick DeNatale <rick.denat...@gmail.com> wrote: > 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. > Are you thinking of dom_id / dom_class ?
Fred > 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.