-
Use SSL in Rails local development with Puma
Having a Rails local development environment with SSL/HTTPS support can be very handy. You can work with payment plaforms APIs, like Stripe or Apple Pay, without having to resort to tools like ngrok and you can increase development/production parity.
-
Pass params to Rails redirect_back
Since Rails 5, the golden standard for redirecting the browser to the page that issued the request, has been
ActionController::Redirecting#redirect_back
. Unfortunatelyredirect_back
doesn’t allow you to modify in any way the URL provided by referer header. -
Start Rails server with advanced Puma config
Wondering why your beautifully crafted
config/puma.rb
Puma configuration file is almost entirely ignored when starting a development Rails server? -
Yes, you should read The Pragmatic Programmer
There are a few good books in software development that can stand the test of time. “The Pragmatic Programmer: From Journeyman to Master” by Andrew Hunt and David Thomas is one of them.
It’s always hard recommending books, there are so many variables to consider, but fortunately with some books you can’t go wrong.
- •
- 1
- •