{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2525","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2525/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2525/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2525/events","html_url":"https://github.com/balderdashy/sails/issues/2525","id":53190485,"number":2525,"title":"`escape` and `escapeId` on a Model return undefined","user":{"login":"GuillaumeLeclerc","id":2017051,"avatar_url":"https://avatars.githubusercontent.com/u/2017051?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLeclerc","html_url":"https://github.com/GuillaumeLeclerc","followers_url":"https://api.github.com/users/GuillaumeLeclerc/followers","following_url":"https://api.github.com/users/GuillaumeLeclerc/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLeclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLeclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLeclerc/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLeclerc/orgs","repos_url":"https://api.github.com/users/GuillaumeLeclerc/repos","events_url":"https://api.github.com/users/GuillaumeLeclerc/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLeclerc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-31T16:11:16Z","updated_at":"2015-01-10T08:57:22Z","closed_at":"2015-01-08T08:22:00Z","body":"`MyModel.escape(\"hello world\")` return `undefined` whereas \r\n`MyModel.waterline.connections.MyConnectionName._adapter.escape(\"hello world\")` returns `'\\'hello world\\''` as expected\r\n\r\nsails version : `0.10.5`"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/69449042","html_url":"https://github.com/balderdashy/sails/issues/2525#issuecomment-69449042","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2525","id":69449042,"user":{"login":"GuillaumeLeclerc","id":2017051,"avatar_url":"https://avatars.githubusercontent.com/u/2017051?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLeclerc","html_url":"https://github.com/GuillaumeLeclerc","followers_url":"https://api.github.com/users/GuillaumeLeclerc/followers","following_url":"https://api.github.com/users/GuillaumeLeclerc/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLeclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLeclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLeclerc/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLeclerc/orgs","repos_url":"https://api.github.com/users/GuillaumeLeclerc/repos","events_url":"https://api.github.com/users/GuillaumeLeclerc/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLeclerc/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T08:57:22Z","updated_at":"2015-01-10T08:57:22Z","body":"If they are not method model how can you explain this : \r\n```javascript\r\nsails> User.escape\r\n[Function: bound]\r\n```"}}