{"action":"created","issue":{"url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/599","labels_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/599/labels{/name}","comments_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/599/comments","events_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/599/events","html_url":"https://github.com/DavyJonesLocker/client_side_validations/issues/599","id":58504393,"number":599,"title":"Validation messages are not showing up","user":{"login":"rdudacz","id":3080919,"avatar_url":"https://avatars.githubusercontent.com/u/3080919?v=3","gravatar_id":"","url":"https://api.github.com/users/rdudacz","html_url":"https://github.com/rdudacz","followers_url":"https://api.github.com/users/rdudacz/followers","following_url":"https://api.github.com/users/rdudacz/following{/other_user}","gists_url":"https://api.github.com/users/rdudacz/gists{/gist_id}","starred_url":"https://api.github.com/users/rdudacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdudacz/subscriptions","organizations_url":"https://api.github.com/users/rdudacz/orgs","repos_url":"https://api.github.com/users/rdudacz/repos","events_url":"https://api.github.com/users/rdudacz/events{/privacy}","received_events_url":"https://api.github.com/users/rdudacz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-22T14:33:09Z","updated_at":"2015-06-03T20:54:50Z","closed_at":null,"body":"Hi there,\r\n\r\nI am using Rails 4.1.4 and gems in following versions:\r\n```\r\ngem 'turbolinks'\r\ngem 'client_side_validations', github: 'DavyJonesLocker/client_side_validations'\r\ngem 'client_side_validations-turbolinks', github: 'DavyJonesLocker/client_side_validations-turbolinks'\r\n```\r\n\r\nIn `applications.js`:\r\n```\r\n//= require rails.validations\r\n//= require rails.validations.turbolinks\r\n```\r\n\r\nand in the view:\r\n```\r\n= form_for(@user, :validate => true) do |f|\r\n```\r\n\r\n`bundle` passed well.\r\n\r\nBut when I test it out, the error (validation) messages never show up. All validation rules are specified in the `User` model.\r\n\r\n`config/client_side_validations.rb`:\r\n```\r\n# ClientSideValidations Initializer\r\n\r\n# Uncomment to disable uniqueness validator, possible security issue\r\n# ClientSideValidations::Config.disabled_validators = [:uniqueness]\r\n\r\n# Uncomment to validate number format with current I18n locale\r\n# ClientSideValidations::Config.number_format_with_locale = true\r\n\r\n# Uncomment the following block if you want each input field to have the validation messages attached.\r\n# Note: client_side_validation requires the error to be encapsulated within\r\n# <label for=\"#{instance.send(:tag_id)}\" class=\"message\"></label>\r\n#\r\nActionView::Base.field_error_proc = Proc.new do |html_tag, instance|\r\n  unless html_tag =~ /^<label/\r\n    %{<div class=\"field_with_errors\">#{html_tag}<label for=\"#{instance.send(:tag_id)}\" class=\"message\">#{instance.error_message.first}</label></div>}.html_safe\r\n  else\r\n    %{<div class=\"field_with_errors\">#{html_tag}</div>}.html_safe\r\n  end\r\nend\r\n```\r\n\r\nI've tried also precompile assets, but without any success.\r\n\r\nAny help with what am I missing here?\r\n\r\n\r\nThank you, enjoy the weekend!"},"comment":{"url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/comments/108613778","html_url":"https://github.com/DavyJonesLocker/client_side_validations/issues/599#issuecomment-108613778","issue_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/599","id":108613778,"user":{"login":"tagliala","id":556268,"avatar_url":"https://avatars.githubusercontent.com/u/556268?v=3","gravatar_id":"","url":"https://api.github.com/users/tagliala","html_url":"https://github.com/tagliala","followers_url":"https://api.github.com/users/tagliala/followers","following_url":"https://api.github.com/users/tagliala/following{/other_user}","gists_url":"https://api.github.com/users/tagliala/gists{/gist_id}","starred_url":"https://api.github.com/users/tagliala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagliala/subscriptions","organizations_url":"https://api.github.com/users/tagliala/orgs","repos_url":"https://api.github.com/users/tagliala/repos","events_url":"https://api.github.com/users/tagliala/events{/privacy}","received_events_url":"https://api.github.com/users/tagliala/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T20:54:50Z","updated_at":"2015-06-03T20:54:50Z","body":"A reduced test case uploaded on github will speed up my work"}}