We discovered the hard way that it is kind of awkward to use erector
0.9.0 with twitter bootstrap (and probably various other CSS/javascript
things out there) because the usual convention is to use hyphens in
class names, but erector/ruby doesn't have a "div.foo-bar" syntax.
Therefore, I've added an option to erector to convert "div.foo_bar" to
the class name "foo-bar".
Details at
https://github.com/pivotal/erector/pull/42
We can always change it if people have other suggestions, want to rename
it, whatever.