$ compass compile --environment production && compass compile
Afterwards you will have both the minified and non-minified versions in your output folder. Note that
compass clean will not clean up your minified files.
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
identity :my_attr => Stringinstead of
identity :type => String. It failed later with a strange nil error. Turns out I wanted to use
key :my_attrmethod instead. Would have appreciated an error saying :type was missing from the hash.
parameterize_keysto default to
true(or that it even exists) and it took me reading thru the code to understand what was going on. I had a field that was safe in a url but it turned my dashes into "-dash-" for no apparant reason. Once I understood it, I found