Fix form generator not working with Rails3 (Closes GH-273)
Fix form generator not working with Rails3 (Closes GH-273)

justinfrench/formtastic,ryanfox1985/formtastic,mikz/formtastic,Davidzhu001/formtastic,EndingChaung/formtastic,paulodiovani/formtastic,thenthen8515/formtastic,ryanfox1985/formtastic,Davidzhu001/formtastic,Baltazore/formtastic,nishaya/formtastic,justinfrench/formtastic,paulodiovani/formtastic,mikz/formtastic,sideci-sample/sideci-sample-formtastic,ConferenceCloud/formtastic,nishaya/formtastic,justinfrench/formtastic,ryanfox1985/formtastic,Guestfolio/formtastic,EndingChaung/formtastic,ConferenceCloud/formtastic,crashlytics/formtastic,Guestfolio/formtastic,thenthen8515/formtastic