5 tips for keeping your Rails views under control
Posted on November 21, 2013
- Use & enforce design and code styleguides for SASS & views
- Markup is about content not design
- Use SASS
- variables
- mixins
- Move CSS classes up in the DOM & design changes to CSS
- Use decorators (or helpers) to:
- Generate classes
- Generate copy
- Generate HTML attributes
View my RailsConf talk on Incremental Design.
Got something to say?