Ten Gems To Know About

2016-07-12 by Brandon Mathis (Meetup)


  1. pry
  2. pry-byebug (also byebug)
  3. awesome_print
  4. quiet_assets
  5. faker
  6. letter_opener
  7. rubocop
  8. brakeman
  9. taperole
  10. 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.