Changes to support Rails 4
Update version and fix ref to validation models