Fixing form helpers for rails 4 compatibility