[ecosoltur] fixing new rails 3 syntax