Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automating Best Practices in Rails

Automating Best Practices in Rails

A quick overview of why automating best practices is a good idea and how to do so for Rails applications

Avatar for Adarsh Pandit

Adarsh Pandit

October 16, 2015
Tweet

More Decks by Adarsh Pandit

Other Decks in Programming

Transcript

  1. Best Practices: Why do they matter? • Developer Happiness (save

    money on recruiting) • Faster Development (more return on your developer dollar) • Fewer Bugs (save money by reducing customer churn)
  2. “Refactoring: Improving the Design of Existing Code” Martin Fowler, Kent

    Beck, John Brant (2012) “I'm not a great programmer; I'm just a good programmer with great habits” -Kent Beck
  3. What best practices do we adhere to now? What best

    practices should we adopt? How much do we believe this “best practices” ?
  4. Write (editors, CLIs) Commit (git hooks) Submit (CI services) Ruby

    (Style) SCSS JavaScript Testing RuboCop CI (Circle, Travis) SCSS-lint js-hint Overcommit CI (Circle, Travis) SimpleCov Hound Ruby (Quality) RubyCritic, Flog/Flay/Reek, rails_best_practices Code Climate Security brakeman, bundler-audit CI (Circle, Travis) CI (Circle, Travis)