fix error at rails4.beta1
Merge pull request #6 from ogawaso/rails4_error

failure in rails4.beta1