fixed syntax for ruby1.8 in dummy apps 3.1 and 3.2 and spec_helper