Store JSON in PostgreSQL column

Today I want to share with you how to store JSON object or array in PostgreSQL table column. This problem is really easy to solve since the PostgreSQL has a native support for

How to execute code before action is called

Rails is a great framework! When you start building web apps with it, you will definitely fall in love with it! Today I want to share with you one really cool feature -

Rails and sending transactional emails

Yesterday I was working on configuring the default Rails mailer to work with 3rd party SMTP server providers like Gmail, Zoho and so on. First, I tried Gmail since it gives you quota