{"action":"opened","issue":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/502","repository_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/502/comments","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/502/events","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/issues/502","id":147101913,"number":502,"title":"[CLOSED] Rename file to prevent exception during db:setup","user":{"login":"benilovj","id":23801,"avatar_url":"https://avatars.githubusercontent.com/u/23801?v=3","gravatar_id":"","url":"https://api.github.com/users/benilovj","html_url":"https://github.com/benilovj","followers_url":"https://api.github.com/users/benilovj/followers","following_url":"https://api.github.com/users/benilovj/following{/other_user}","gists_url":"https://api.github.com/users/benilovj/gists{/gist_id}","starred_url":"https://api.github.com/users/benilovj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benilovj/subscriptions","organizations_url":"https://api.github.com/users/benilovj/orgs","repos_url":"https://api.github.com/users/benilovj/repos","events_url":"https://api.github.com/users/benilovj/events{/privacy}","received_events_url":"https://api.github.com/users/benilovj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-09T07:26:41Z","updated_at":"2016-04-09T07:26:41Z","closed_at":null,"body":"<a href=\"https://github.com/robmckinnon\"><img src=\"https://avatars.githubusercontent.com/u/3447?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [robmckinnon](https://github.com/robmckinnon)**\n_Wednesday 17 June 2015 at 13:16 GMT_\n_Originally opened as https://github.com/alphagov/specialist-publisher/pull/502_\n\n----\n\n* Change file name to match class name to fix this loading error during `rake db:setup`:\r\n```\r\nFailed to determine model from app/models/validators/vehicle_recalls_and_faults_validator.rb:\r\n            NameError:uninitialized constant VehicleRecallsAndFaultsValidator\r\n```\n\n----\n\n_**[robmckinnon](https://github.com/robmckinnon)** included the following code: https://github.com/alphagov/specialist-publisher/pull/502/commits_\n"}}