How to connect to Rails console on AWS OpsWorks

When running your Rails app in production on AWS OpsWorks, it's sometimes useful to connect to the console to perform some tasks your custom admin section doesn't provide functionality for. The usual path to achieve that is to SSH on one of the servers in Rails layer, then cd to…

How to organize and develop responsive HTML emails with Middleman and Premailer

At Codeable we send more than 40 transactional emails (in HTML) and until recently it has been a total mess both to develop and organize them. After a friend of mine introduced me to Middleman (for another purpose), I quickly though this could be the solution to our problems and…

Startup conferences are (mostly) a waste of time.

Full disclosure: This is a rant. You were warned. Last week I attended a startup conference in Vienna called Foundertalks which I especially looked forward to for several reasons; First it was invite-only, which kinda made me feel important to a degree when I considered myself worthy of connecting with…

Test driven fundraising

We've done our fair share of mistakes when fundraising for Codeable but now in retrospective I think it couldn't have gone better. After all it was test driven! If you're a developer, you're probably familiar with TDD, or test driven development. If you're not, it goes something like this: You…

1-person Scrum

I've been asked to write a blog post on my talk (titled the same as this post) I had at the second WordPress meetup in Ljubljana, Slovenia - so here it is. When I started with freelancing about a decade ago, I knew next to nothing about web or how…

Running Sidekiq on OpsWorks

Unlike Heroku, Amazon OpsWorks doesn't support having separate layers for the purpose of running background jobs. They offer a complete Rails layer which means that I'd have to run Unicorn just because their Chef configures it so. While it's a completely viable solution (and used by some), I decided against…