Rails4

I made a small refactor on 'form_builder.rb' to get it working on rails 4..