Open micahbrich opened 13 years ago
I was reading through the code in /lib/octopi/repository.rb, and found a little typo on line #100.
def issues(state = "open") IssueSet.new(Octopi::Issue.find_all(:user => owner, :repository => self)) end
as far as I can tell, ought to be:
def issues(state = "open") IssueSet.new(Octopi::Issue.find_all(:user => self.owner, :repository => self)) end
My app couldn't find the user, because it didn't know what "user" was, as opposed to "self.user." Thought I'd share my findings!
These should be the same thing. Let me know if you are still having issues with the latest gem and then I can fix it. A stacktrace would be helpful if one is provided.
I was reading through the code in /lib/octopi/repository.rb, and found a little typo on line #100.
as far as I can tell, ought to be:
My app couldn't find the user, because it didn't know what "user" was, as opposed to "self.user." Thought I'd share my findings!