{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/administrate/issues/639","repository_url":"https://api.github.com/repos/thoughtbot/administrate","labels_url":"https://api.github.com/repos/thoughtbot/administrate/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/administrate/issues/639/comments","events_url":"https://api.github.com/repos/thoughtbot/administrate/issues/639/events","html_url":"https://github.com/thoughtbot/administrate/issues/639","id":169701346,"number":639,"title":"Rails 5 - Gives Warning for no ApplicationRecord dashboard","user":{"login":"bjkeeton","id":17088557,"avatar_url":"https://avatars.githubusercontent.com/u/17088557?v=3","gravatar_id":"","url":"https://api.github.com/users/bjkeeton","html_url":"https://github.com/bjkeeton","followers_url":"https://api.github.com/users/bjkeeton/followers","following_url":"https://api.github.com/users/bjkeeton/following{/other_user}","gists_url":"https://api.github.com/users/bjkeeton/gists{/gist_id}","starred_url":"https://api.github.com/users/bjkeeton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjkeeton/subscriptions","organizations_url":"https://api.github.com/users/bjkeeton/orgs","repos_url":"https://api.github.com/users/bjkeeton/repos","events_url":"https://api.github.com/users/bjkeeton/events{/privacy}","received_events_url":"https://api.github.com/users/bjkeeton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-05T21:37:22Z","updated_at":"2016-10-28T15:14:20Z","closed_at":"2016-10-28T15:14:20Z","body":"I noticed when using the Rails5 beta that the following warning comes up:\r\n```\r\n\r\nWARNING: Unable to generate a dashboard for ApplicationRecord.\r\n         It is not connected to a database table.\r\n         Make sure your database migrations are up to date.\r\n```\r\n\r\nSince ApplicationRecord will never be connected to a database, the warning is pointless.\r\n\r\nRight now, I feel as though I know enough to be dangerous, but I can't figure out how to get this to go through and pass (or even if the test/fix is correct). Anyone know a quick fix for this one, or can point out what I'm doing wrong?\r\n\r\nMy fork is here, with my ideas, but I can't get the tests to pass because I'm not 100% on the syntax at this point: https://github.com/GeekFitness/administrate"},"comment":{"url":"https://api.github.com/repos/thoughtbot/administrate/issues/comments/256947888","html_url":"https://github.com/thoughtbot/administrate/issues/639#issuecomment-256947888","issue_url":"https://api.github.com/repos/thoughtbot/administrate/issues/639","id":256947888,"user":{"login":"JoelQ","id":1006966,"avatar_url":"https://avatars.githubusercontent.com/u/1006966?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelQ","html_url":"https://github.com/JoelQ","followers_url":"https://api.github.com/users/JoelQ/followers","following_url":"https://api.github.com/users/JoelQ/following{/other_user}","gists_url":"https://api.github.com/users/JoelQ/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelQ/subscriptions","organizations_url":"https://api.github.com/users/JoelQ/orgs","repos_url":"https://api.github.com/users/JoelQ/repos","events_url":"https://api.github.com/users/JoelQ/events{/privacy}","received_events_url":"https://api.github.com/users/JoelQ/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T15:14:20Z","updated_at":"2016-10-28T15:14:20Z","body":"There are two issues happening here.\r\n\r\n1. Bourbon problems. There an issue ( #615 ) for this problem.\r\n2. Dashboard problems. These happen because your administrate tries to generate dashboards for all your models but can only actually work with database-backed models. To fix delete references to non-database-backed dashboards from your `dashboards.rb` file.\r\n\r\nI'm going to close the issue but feel free to continue discussing Bourbon issues on #615 "}}
{"actor":{"display_login":"JoelQ"}}