Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.31 KB

class-12.md

File metadata and controls

39 lines (32 loc) · 1.31 KB

New and awesome gems

  • Paperclip: file uploads
    • Images, audio, video, docs
  • SimpleForm, Nested Forms: form helpers
  • Thin, Puma, Unicorn: servers
    • Thin: Rack-based, multiple servers to handle concurrency
    • Puma: Multiple threads to handle concurrency, small memory footprint
    • Unicorn: Handles load balancing and restarting workers on its own
    • WEBrick: Basic server that is SLOW
    • All can be used in conjuction with Apache/Phusion Passenger or nginx
  • Annotate: Route and Model enhancers
  • BetterErrors: exactly what it sounds like.
  • Pry: better debugging

Testing

Testing frameworks

  • Unit test
  • Mini test
  • RSpec
  • FactoryGirl
  • Capybara
  • Cucumber

The least you should know:

  • How to write a test
  • What is a good test vs what is an inconclusive test
  • How writing tests help you see the big picture while designing small systems in that scope