set of my favourite dev tools (mostly rails-related)
logs should be:
- pretty!
- colorful!
- informative!
- based on YELL - Your Extensible Logging Library
- https://github.com/rudionrails/yell-rails
- HOWTO: https://github.com/rudionrails/yell/wiki/101-formatting-log-messages
- easy installation
- easy to modify
- get what you want
- https://github.com/pry/pry
- want more?
- take allthethings!
- https://github.com/nixme/jazz_hands
- debugging
- syntax highlighting
- editing methods from console
- stack trace is good, probably good enough
- but
better_errors
gem does it simply better - entire environment available
- there is no point to not use this
- part of rails 4
- go to
/rails/routes
- https://github.com/schneems/sextant
- one of my favourite PRs rails/rails#9001 (GIF inside!)
- you’re new in project
- you want to find this partial
- 'inspect element' and looking for HTML structure?
- no need to!
- https://github.com/brentd/xray-rails
- ruby 1.9 :/
- demo
- community style guide
- https://github.com/bbatsov/rubocop/
- sublime/vim plugins available
- code smells
- https://github.com/troessner/reek
- easy to read pain report
- https://github.com/seattlerb/flog
- find duplications
- https://github.com/seattlerb/flay
- all rails best practices
- https://github.com/railsbp/rails_best_practices
- help to kill N+1 queries and unused eager loading
- https://github.com/flyerhzm/bullet
- https://github.com/ctran/annotate_models
- add a comment summarizing the current schema to the top or bottom of each of your model
- no need to open
schema.rb
- free for open source projects
- https://codeclimate.com/
- offline documentation for ruby, jquery, ...
- http://kapeli.com/dash
- copy current line and shows a link to this line on github
- https://github.com/ehamiter/ST2-GitHubinator
- let you quickly navigate to code definitons (classes, methods, etc.)
- https://github.com/SublimeText/CTags
- if you have sublime 3 - it's already there :)
- [http://blog.codeclimate.com/blog/2012/06/21/sublime-text-2-for-ruby/](Sublime configuration for Ruby developers)