{"action":"created","issue":{"url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/20","repository_url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query","labels_url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/20/comments","events_url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/20/events","html_url":"https://github.com/take-five/activerecord-hierarchical_query/issues/20","id":225349355,"node_id":"MDU6SXNzdWUyMjUzNDkzNTU=","number":20,"title":"Error: undefined method `bound_attributes` for ActiveRecord::Relation","user":{"login":"VitaliyAdamkov","id":25305511,"node_id":"MDQ6VXNlcjI1MzA1NTEx","avatar_url":"https://avatars0.githubusercontent.com/u/25305511?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyAdamkov","html_url":"https://github.com/VitaliyAdamkov","followers_url":"https://api.github.com/users/VitaliyAdamkov/followers","following_url":"https://api.github.com/users/VitaliyAdamkov/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyAdamkov/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyAdamkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyAdamkov/subscriptions","organizations_url":"https://api.github.com/users/VitaliyAdamkov/orgs","repos_url":"https://api.github.com/users/VitaliyAdamkov/repos","events_url":"https://api.github.com/users/VitaliyAdamkov/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyAdamkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-30T19:43:19Z","updated_at":"2018-09-10T18:12:27Z","closed_at":null,"author_association":"NONE","body":"ruby 2.1.2, rails 3.2.14, gem version 1.0.0\r\nWhen traversing descendants, i've got error from .rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activerecord-hierarchical_query-1.0.0/lib/active_record/hierarchical_query/cte/non_recursive_term.rb:18:in `bind_values'\r\n```\r\ndef bind_values\r\n  scope.bound_attributes\r\nend\r\n```\r\nI've looked into source here, at github, and have found that in master branch you have next lines in that file:\r\n```\r\ndef bind_values\r\n  scope.bind_values\r\nend\r\n```\r\nWhen i replaced the line in this local file, i've got similar error for file .rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activerecord-hierarchical_query-1.0.0/lib/active_record/hierarchical_query/cte/recursive_term.rb\r\nThat error had been bypassed the same way and traversing started to work as expected.\r\nHelp me, please, to use your very handful gem without that local files editings."},"comment":{"url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/comments/420008437","html_url":"https://github.com/take-five/activerecord-hierarchical_query/issues/20#issuecomment-420008437","issue_url":"https://api.github.com/repos/take-five/activerecord-hierarchical_query/issues/20","id":420008437,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDAwODQzNw==","user":{"login":"zachaysan","id":222715,"node_id":"MDQ6VXNlcjIyMjcxNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/222715?v=4","gravatar_id":"","url":"https://api.github.com/users/zachaysan","html_url":"https://github.com/zachaysan","followers_url":"https://api.github.com/users/zachaysan/followers","following_url":"https://api.github.com/users/zachaysan/following{/other_user}","gists_url":"https://api.github.com/users/zachaysan/gists{/gist_id}","starred_url":"https://api.github.com/users/zachaysan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachaysan/subscriptions","organizations_url":"https://api.github.com/users/zachaysan/orgs","repos_url":"https://api.github.com/users/zachaysan/repos","events_url":"https://api.github.com/users/zachaysan/events{/privacy}","received_events_url":"https://api.github.com/users/zachaysan/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T18:12:27Z","updated_at":"2018-09-10T18:12:27Z","author_association":"COLLABORATOR","body":"I'm able to reproduce. Working on it now."}}
{"actor":{"display_login":"zachaysan"}}