Nuts & Bolts is a Series for Ruby and Rails Developers

You'll get tips, insights and solutions for your everyday work – don't miss new articles.

Create and install SSL certificates with ease – a Capistrano recipe

by Torsten Bühl

How to generate the Private Key, what's the correct chaining order, or how to create a PEM Certificate? We all know it and we hate it: Installing or renewing the SSL certificates for our application.

And after you finally figured it out, you'll unlearn the progress till you need it again. So I wrote a small Capistrano recipe to help you with this annoying job.

Continue reading →

Run a remote Rails production console with Capistrano

by Torsten Bühl

We all love to enter the Rails console to try out some stuff. It's just a rails c away in development. But what if you want to view or fetch some specific data on your remote production server (and you're not on Heroku)? If you already deploy your app with Capistrano, why not use it for this task?

Continue reading →

Create a simple Jekyll-like blog in your Rails 4 app

by Torsten Bühl

As I wrote in my first blog post, I had a hard time deciding how to add a blog to my app. Should I use Jekyll, another Rails blog engine or just build a simple blog functionality on my own? I use Jekyll for my private developer blog and I like it. But I decided to write my own – and I'll show you why and how.

Continue reading →