[POST UPDATE ON 19/07/2010 - 15:45] Continuing our analysis of the Rails Best Practices today we’ll see two other tricks to make more readable method of the controller.1. Method...
Read more[POST UPDATE ON 19/07/2010 - 15:45] Continuing our analysis of the Rails Best Practices today we’ll see two other tricks to make more readable method of the controller.1. Method...
Read moreThis second post of the series leaves for a moment the creational patterns and speaks about one of the most important structural pattern: the Adapter. The purpose of an adapter...
Read moreToday we continue our analysis of the Rails Best Practices. In the previous post we saw Named Scope, Model Association and Following the same direction, in today’s post we’ll ex...
Read moreAn abstract Factory provides a common interface for creating families of related objects together. The client object does not bother to build objects directly, but it calls th...
Read moreHello everyone.With this post I would like to start a serie of articles concerning the description of the most common design patterns and how these can be applied with the Ruby ...
Read moreMaintain a skinny controller is one of the most important things to increase the readability and testability of the code. Let’s see some practices to move from the logic control...
Read moreI’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 moreIt 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 moreIn 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 morePrevious posts: Building a Web 2.0 startup: Part 1 – idea and analysis of competitors Building a web 2.0 startup: Introduction In this second post about the startup of ...
Read morePrevious posts: Building a web 2.0 startup: Introduction One of the fundamental aspects for the start of a startup, especially in the web world, is to have a good initial i...
Read moreThis will be the first one of a series of articles describing the way will lead DevInterface to the creation of a Web 2.0 application for the public.In particular, we will discu...
Read moreHello everyone. Today I will show how to implement a viewing system for any model of your Rails application. Suppose we have a model News and we would like to keep track of ho...
Read more