Tanel is an experienced Software Engineer with strong background in variety of technologies. He is extremely passionate about creating high quality software and constantly explores new technologies.
Ruby on Rails 3.x has given us a lot of syntactical sugar. Most of it are pretty small things, things you might not even discover unless someone told…
The most common way to have cron tasks with your Rails application is to have a Rake task and configure it’s periodic execution in the crontab. This allows…
When we heard the announcement of Ruby on Rails 3.1 RC, we agreed that we upgrade one of our internal applications and check out all of the new…
Last week we had an interesting problem to solve in one of our projects. And as the result of this solution, we unexpectedly ended up using NodeJS. In…
While working with different PayPal payment APIs, I have read a lot of tutorials, library code and documentation about the given matter. While there are several quite competent…
I have been digging around the Rails source a lot since the last time I shared my discoveries. Seeing how popular the post was, I have collected a…
Not too long ago we had a problem with doing (almost) guaranteed inserts for columns with unique constraints on them (see this post). Today I was facing a…
Actually this post is not so much about just building custom validators for Rails 3 but more like a in-depth introduction to how validations work in the old…
Generally, when someone wants to ensure that a models field is unique, they use a database unique index in conjunction with validates_uniqueness_of :field. The problem with this approach…
I need confirmation dialogs, I need them to be dynamic, unobtrusive, custom styled and flexible. Most of the conditions rule out the built-in [cc lang="javascript" inline="true"]confirm()[/cc] function in Javascript. So I decided to build my own with jQuery and share the basic ideas behind the solution.