justinfrench/formtastic — Issue #811: IE6/7 CSS always rendered in Rails 3.2
Author: onemanarmy
Created: 2012-02-25 01:32:56+00:00
State: open

Rails 3.2.1 / Formtastic 2.1.0.rc

Following the instructions on **"Stylesheet usage in Rails >= 3.1"** results in the Internet Explorer stylesheets always being included and rendered, regardless of browser:

```ruby
# app/assets/stylesheets/application.css
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require_tree .
*
*= require formtastic
*/

```

```ruby
# app/assets/stylesheets/ie6.css
/*= require formtastic_ie6 */
```

```ruby
# app/assets/stylesheets/ie7.css
/*= require formtastic_ie7 */
```

```html

```