AdamT AdamT - 9 months ago 87
CSS Question

twitter-bootstrap-rails gem workflow

How do I use the twitter-bootstrap-rails gem in my Rails 3.2.1 app? What is the workflow?

After I do:

rails g bootstrap:layout [LAYOUT_NAME] [*fixed or fluid] [options]

what do I do next? Do I just copy and paste the generated code into my view? Do I do this for every view? If so, how is doing

rails g bootstrap:themed [RESOURCE_NAME] [LAYOUT] [options]

any different?

Do you guys even use the rails generators?


Answer Source

There is a RailsCasts tutorial that is a great starting point: