Triangle.rb Notes - Ten Gems To Know About
Ten Gems To Know About
2016-07-12 by Brandon Mathis (Meetup)
- pry
- pry-byebug (also byebug)
- awesome_print
- quiet_assets
- faker
- letter_opener
- rubocop
- brakeman
- taperole
- flamegraph
pry
Edit ~/.ircrb
to automatically use pry
instead of irb
. (Or just type pry
into the terminal instead of irb
.)
awesome_print
Colorizes Ruby's built-in pretty printer (pp
) and adds formatting options.
quiet_assets
Suppress asset request log output. Included by default in Rails 5.
faker
Real-looking fake data. Mostly useful for development or testing. Use in Rails' db/seeds.rb
to help onboard new developers.
letter_opener
Preview emails in browser during development. Set config.action_mailer.delivery_method = :letter_opener
in config/environments/development.rb
to enable.
rubocop
Linting code allows for automatically enforced formatting style guides. Be sure to not bike shed the actual rules too much :). NOTE Rubocop needs a Rails default configuration (maybe rubocop --auto-gen-config
).
brakeman
Find security errors and generate a report.
taperole
Automate and opinionate Ansible.