A collection of shortcuts and helpers for leveraging a request's env in Rails, such as including a browser-specific stylesheet if one exists or putting a short version of the user agent in the CSS classes of the body tag. This eliminates the need for most hacks or conditional comments since you can now get browser-specific with your CSS rules (ex. body.ie6 div { ... })

Required Ruby Version

None

Authors

Dave Myron

Versions

  1. 1.0.3 May 09, 2008* (10.5 KB)
  2. 1.0.2 May 08, 2008* (10.5 KB)
  3. 1.0.1 May 08, 2008* (10.5 KB)
  4. 1.0.0 May 06, 2008* (10.5 KB)

SHA 256 checksum