{"action":"created","issue":{"url":"https://api.github.com/repos/swanandp/acts_as_list/issues/303","repository_url":"https://api.github.com/repos/swanandp/acts_as_list","labels_url":"https://api.github.com/repos/swanandp/acts_as_list/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/swanandp/acts_as_list/issues/303/comments","events_url":"https://api.github.com/repos/swanandp/acts_as_list/issues/303/events","html_url":"https://github.com/swanandp/acts_as_list/issues/303","id":300867624,"number":303,"title":"NoMethodError: undefined method `acts_as_list'","user":{"login":"oyeanuj","id":9633371,"avatar_url":"https://avatars2.githubusercontent.com/u/9633371?v=4","gravatar_id":"","url":"https://api.github.com/users/oyeanuj","html_url":"https://github.com/oyeanuj","followers_url":"https://api.github.com/users/oyeanuj/followers","following_url":"https://api.github.com/users/oyeanuj/following{/other_user}","gists_url":"https://api.github.com/users/oyeanuj/gists{/gist_id}","starred_url":"https://api.github.com/users/oyeanuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyeanuj/subscriptions","organizations_url":"https://api.github.com/users/oyeanuj/orgs","repos_url":"https://api.github.com/users/oyeanuj/repos","events_url":"https://api.github.com/users/oyeanuj/events{/privacy}","received_events_url":"https://api.github.com/users/oyeanuj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-28T02:28:59Z","updated_at":"2018-04-27T21:40:36Z","closed_at":null,"author_association":"NONE","body":"Hey @brendon, I ran into an issue which feels awkwardly similar to #176 but the solution mentioned there doesn't seem to work for me.\r\n\r\nI am on Rails 5.1.4 (API-only mode), and did the following as per the README:\r\n1. Added it to Gemfile and installed the gem.\r\n2. Created a column for the `position` in the intended model.\r\n3. Added the following code snippet.\r\n```rb\r\n  belongs_to\t\t:member\r\n    validates \t\t:member,\r\n    presence: \t\ttrue\r\n\r\n  acts_as_list\t\tscope:\t:member\r\n```\r\n4. And got the following error:\r\n```irb\r\n[100] pry(main)> Movie\r\nNoMethodError: undefined method `acts_as_list' for #<Class:0x00007f9b373ca6c0>\r\nDid you mean?  acts_like?\r\nfrom /Users/anuj/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/activerecord-5.1.4/lib/active_record/dynamic_matchers.rb:22:in `method_missing'\r\n```\r\n\r\nI assume I am missing some obvious step, but can't seem to figure out what that might be. I went through #176, and the solution mentioned there to include `include ActiveRecord::Acts::List` throws a different kind of error for me.\r\n\r\nAny thoughts on what might be going on are super appreciated?"},"comment":{"url":"https://api.github.com/repos/swanandp/acts_as_list/issues/comments/385101301","html_url":"https://github.com/swanandp/acts_as_list/issues/303#issuecomment-385101301","issue_url":"https://api.github.com/repos/swanandp/acts_as_list/issues/303","id":385101301,"user":{"login":"brendon","id":81871,"avatar_url":"https://avatars3.githubusercontent.com/u/81871?v=4","gravatar_id":"","url":"https://api.github.com/users/brendon","html_url":"https://github.com/brendon","followers_url":"https://api.github.com/users/brendon/followers","following_url":"https://api.github.com/users/brendon/following{/other_user}","gists_url":"https://api.github.com/users/brendon/gists{/gist_id}","starred_url":"https://api.github.com/users/brendon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendon/subscriptions","organizations_url":"https://api.github.com/users/brendon/orgs","repos_url":"https://api.github.com/users/brendon/repos","events_url":"https://api.github.com/users/brendon/events{/privacy}","received_events_url":"https://api.github.com/users/brendon/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T21:40:36Z","updated_at":"2018-04-27T21:40:36Z","author_association":"COLLABORATOR","body":"Lol, I've never known it not to require a scope :) I suppose it doesn't need one though. I'm not even sure there's tests for that... Might be something to investigate if you have the time :)"}}
{"actor":{"display_login":"brendon"}}