Since upgrading my site to Rails 4, the client-side-validations gem has stopped working for me. I have had a look at the various alternatives such as jquery-validation-rails
I know the question is old, but how about good old require: "require"?
For example in view:
<%= f.text_area :body, placeholder: "Write your review here...", class: "form-control", rows: "5", required: "required" %>