fix [Model].class.model_name has no method named underscore
compatible rails4
Merge pull request #50 from jyfcrw/rails4_model_name_changed

Rails4 model name changed