seyhunak/twitter-bootstrap-rails — Issue #28: issue with .disabled class name and "disabled='disabled'" attribute
Author: shurikk
Created: 2011-12-02 18:34:41+00:00
State: open

originally opened it against slim, https://github.com/stonean/slim/issues/211

using twitter-bootstrap-rails 1.4.1 and rails 3.1.1 issue was caused by the last 2 lines in auto-generated app/assets/javascripts/bootstrap.js.coffee

````
$ ->
$(".btn").button "complete"
````

should be easy to reproduce. create new rails app and add twitter-bootstrap-rails to Gemfile (bundle install etc.). run ````rails g bootstrap:install```` and create a basic view with

Foo

in my case the button is not disabled. let me know if more info is needed.