Mappa Via Marconi 20, Bussolengo (VR)

Rails Best Practices: introduction

I’ve decided to dedicate a series of posts to Rails Best Practices because I think it is important to share in order to continuously improve the way you write programs.Write t...

Read more

Partial Validation in Rails

It happens sometimes that you have to implement creation or editing of a model splitted on more than one form. A classic case is a registration form divided into two steps or ...

Read more

Create zip files on the fly with ruby

In a Ruby on Rails application I'm developing, client asked me to add a feature that allows users to download a full picture gallery as a single zip file. Quite obviously, I dec...

Read more