fix form helper
fix view tests
Merge pull request #3 from ka8725/rails4_fix

Rails4 fix