Rails is truly the work of visionary people, leveraging the all powerful Ruby language they came up with something that is really nice to use and that produce very powerful results, digging into the API i find a very powerful feature called Rails dirty objects, i havent heard about that until recently, when i learned that you could so stuff like this: