Adam Niedzielski

Programming is about people

Don’t automate it (yet) - a story

| Comments

Programmers love to approach new business problems thinking about frameworks, libraries, tools or methods which can be used. However, my experience shows that quite the opposite way is most successful – postpone writing the code as long as it’s possible.

Integrating Tiddle with Ember Simple Auth

| Comments

Tiddle is my gem which provides Devise strategy for token authentication in API-only Ruby on Rails applications. Its selling point is that it supports multiple tokens per user.

Ember Simple Auth provides a nice abstraction over implementing authentication in Ember.js apps. In this blog post I will show you how to implement a custom Ember Simple Auth strategy for Tiddle.

Different approach to Ecommerce on Rails

| Comments

I always wanted to build my own ecommerce platform from scratch. That’s not because I don’t like to reuse existing code – I really love to. That’s because I believe that we can do better. Now I have a chance to do it and you can follow my work on Github.

Emails with “View in Browser” link in Node.js

| Comments

“View in Browser” link is a common feature of email campaign systems like MailChimp. It’s a really nice idea – when you code your shiny CSS-heavy emails you want to have a fallback for malfunctioning email clients.

But what if you want to implement this feature on your own? Read on to learn how to send emails in Node.js with “View in Browser” link and inlined CSS.

Two sad things about software eating the world

| Comments

My mobile network operator keeps calling me. They called at 12:13, at 15:46, at 18:36 and at 20:54. I’m using a pre-paid, so the only thing they can offer me is a subscription. Obviously, I’ve told them many times that I just don’t want it.

How is this story connected with software eating the world?

Contextual validations with form objects

| Comments

When you deal with complex forms The Rails Way is not enough. You have to introduce another abstraction for handling more sophisticated validations.

This post shows how to use form objects for validations which need to happen only in one flow and involve dependencies between the fields.

Read before you commit

| Comments

This is going to be a short piece on one particular habit which I practise when writing code. It’s extremely simple and obvious, but I’m surprised how many programmers skip it.