Ruby on Rails Tuesday, June 28, 2011

Just to add my two cents, the body approach works well as long as you work with classes, not a single id, not with the id. Something like action_youractionname and controller_yourcontrollername. Modernizr has a similar approach to specify what features are available.



On Tue, Jun 28, 2011 at 8:29 AM, Chris Braddock <braddock.chris@gmail.com> wrote:
Thanks.  The 2nd option you're suggesting (body IDs) is what I originally had in mind until this debate broke out against using the ID attribute on the body tag (which I kind of ended up liking).

But, for the sake of pragmatism, I might have to again revisit my approach thanks to this new twist.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/u6YFgqb4qXgJ.

To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.





--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment