Categories: None [Edit]

dynamic-body-class-and-id

https://rubygems.org/gems/dynamic-body-class-and-id
The gem adds body_class and body_id helpers to your Rails app. The ID is based on the name of the controller and the class is based on the name of the action. Use this in your CSS to provide page-specific styles. For example, when accessing http://example.com/post/123, the body ID would be "post" and the class would be "show".

Total

Ranking: 117,974 of 188,148
Downloads: 5,847

Daily

Ranking: 38,326 of 188,131
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,233,451,969activesupport

Owners

#GravatarHandle
1iconpbyrne