{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/0943f426389a455c9143a2bec49fa577?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0943f426389a455c9143a2bec49fa577","url":"https://api.github.com/users/bigcurl","login":"bigcurl","id":34068},"milestone":{"state":"open","open_issues":15,"url":"https://api.github.com/repos/gregbell/active_admin/milestones/6","due_on":"2011-10-31T07:00:00Z","creator":{"avatar_url":"https://secure.gravatar.com/avatar/7963372d1017675cbf3407e2935e9d77?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7963372d1017675cbf3407e2935e9d77","url":"https://api.github.com/users/gregbell","login":"gregbell","id":719},"title":"0.4.0","description":"","number":6,"closed_issues":2,"created_at":"2011-07-11T13:51:53Z"},"labels":[{"name":"Bug","color":"e10c02","url":"https://api.github.com/repos/gregbell/active_admin/labels/Bug"}],"assignee":null,"updated_at":"2011-11-10T20:08:17Z","comments":16,"closed_at":null,"url":"https://api.github.com/repos/gregbell/active_admin/issues/70","body":"`scope_to :current_user` is set in `ActiveAdmin.register`\r\n\r\nIf I set a filter for an association to filter `:folder, :as => :select` it will call `Folder.all`.\r\n\r\nIf I try to set `filter :folder, :as => :select, :collection => current_user.folders.all` rails fails with a `current_user not found` error.\r\n\r\nif scope is set the filter method should scope the association to the current_users objects.","html_url":"https://github.com/gregbell/active_admin/issues/70","title":"Filter and form do not honor scope_to :current_user","number":70,"id":931410,"created_at":"2011-05-20T10:42:45Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/ada8b830e22d3785fd5ff73015506248?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ada8b830e22d3785fd5ff73015506248","url":"https://api.github.com/users/bdastous","login":"bdastous","id":1006934},"updated_at":"2011-11-10T20:08:17Z","url":"https://api.github.com/repos/gregbell/active_admin/issues/comments/2700402","body":"Actually, it came out wrong when you wrote it.","id":2700402,"created_at":"2011-11-10T20:08:17Z"}}