added some views helper methods and specs, upgraded to rails 3.2.11