{"comment":{"url":"https://api.github.com/repos/thoughtbot/administrate/comments/19673508","html_url":"https://github.com/thoughtbot/administrate/commit/2d1e7b097e8dd6246c3bdcf0c3b93d8d78b5658b#commitcomment-19673508","id":19673508,"user":{"login":"chamnap","id":407708,"avatar_url":"https://avatars.githubusercontent.com/u/407708?v=3","gravatar_id":"","url":"https://api.github.com/users/chamnap","html_url":"https://github.com/chamnap","followers_url":"https://api.github.com/users/chamnap/followers","following_url":"https://api.github.com/users/chamnap/following{/other_user}","gists_url":"https://api.github.com/users/chamnap/gists{/gist_id}","starred_url":"https://api.github.com/users/chamnap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chamnap/subscriptions","organizations_url":"https://api.github.com/users/chamnap/orgs","repos_url":"https://api.github.com/users/chamnap/repos","events_url":"https://api.github.com/users/chamnap/events{/privacy}","received_events_url":"https://api.github.com/users/chamnap/received_events","type":"User","site_admin":false},"position":10,"line":10,"path":"administrate/lib/administrate/search.rb","commit_id":"2d1e7b097e8dd6246c3bdcf0c3b93d8d78b5658b","created_at":"2016-11-03T04:15:01Z","updated_at":"2016-11-03T04:15:01Z","body":"Can we use `resource_class.none` or something? Using `all` is impossible for large table like 10M records?\r\n\r\nFrom `Administrate::ApplicationController`, it needs to apply the order after invoking of `#run`. I think it should invoke `#none` rather than `#all` so that it executes the query only ONCE."}}
{"actor":{"display_login":"chamnap"}}