{"action":"created","issue":{"url":"https://api.github.com/repos/yuki24/did_you_mean/issues/50","labels_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/50/comments","events_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/50/events","html_url":"https://github.com/yuki24/did_you_mean/issues/50","id":68452896,"number":50,"title":"Match start of method name","user":{"login":"tjohn","id":673838,"avatar_url":"https://avatars.githubusercontent.com/u/673838?v=3","gravatar_id":"","url":"https://api.github.com/users/tjohn","html_url":"https://github.com/tjohn","followers_url":"https://api.github.com/users/tjohn/followers","following_url":"https://api.github.com/users/tjohn/following{/other_user}","gists_url":"https://api.github.com/users/tjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/tjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjohn/subscriptions","organizations_url":"https://api.github.com/users/tjohn/orgs","repos_url":"https://api.github.com/users/tjohn/repos","events_url":"https://api.github.com/users/tjohn/events{/privacy}","received_events_url":"https://api.github.com/users/tjohn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-14T17:46:40Z","updated_at":"2015-08-21T07:29:17Z","closed_at":"2015-08-21T07:29:17Z","body":"We had an issue where no matches were returned despite there being a string match.\r\n\r\n```ruby\r\nclass Foo\r\n  def self.set_result_count; end\r\nend\r\n\r\nFoo.set_result\r\n#=> NoMethodError: undefined method `set_result' for Foo:Class\r\n\r\nFoo.set_result_c\r\n#=> NoMethodError: undefined method `set_result_c' for Foo:Class\r\n\r\n    Did you mean? .set_result_count\r\n```\r\n\r\nIt would be desirable for the suggestion to appear if everything matches except the postfix. I am not sure how this would look on shorter method names. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yuki24/did_you_mean/issues/comments/133315146","html_url":"https://github.com/yuki24/did_you_mean/issues/50#issuecomment-133315146","issue_url":"https://api.github.com/repos/yuki24/did_you_mean/issues/50","id":133315146,"user":{"login":"yuki24","id":386234,"avatar_url":"https://avatars.githubusercontent.com/u/386234?v=3","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T07:29:17Z","updated_at":"2015-08-21T07:29:17Z","body":"I'm closing this issue since a prefix-based spellchecker has been implemented and shipped with [v0.10.0](https://github.com/yuki24/did_you_mean/releases/tag/v0.10.0). Thanks!"}}