{"action":"opened","issue":{"url":"https://api.github.com/repos/drapergem/draper/issues/699","labels_url":"https://api.github.com/repos/drapergem/draper/issues/699/labels{/name}","comments_url":"https://api.github.com/repos/drapergem/draper/issues/699/comments","events_url":"https://api.github.com/repos/drapergem/draper/issues/699/events","html_url":"https://github.com/drapergem/draper/issues/699","id":111184685,"number":699,"title":":context too generic a name to be injected into wrapped objects?","user":{"login":"nbfritz","id":9850,"avatar_url":"https://avatars.githubusercontent.com/u/9850?v=3","gravatar_id":"","url":"https://api.github.com/users/nbfritz","html_url":"https://github.com/nbfritz","followers_url":"https://api.github.com/users/nbfritz/followers","following_url":"https://api.github.com/users/nbfritz/following{/other_user}","gists_url":"https://api.github.com/users/nbfritz/gists{/gist_id}","starred_url":"https://api.github.com/users/nbfritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbfritz/subscriptions","organizations_url":"https://api.github.com/users/nbfritz/orgs","repos_url":"https://api.github.com/users/nbfritz/repos","events_url":"https://api.github.com/users/nbfritz/events{/privacy}","received_events_url":"https://api.github.com/users/nbfritz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T13:51:38Z","updated_at":"2015-10-13T13:51:38Z","closed_at":null,"body":"I am currently working on a project that involved wrapping a set of models with decorators to extend their behavior. I was getting very strange results until I realized that Draper was adding a `context` getter and setter to my decorator that was interfering with the `context` variable attribute on my model.\r\n\r\nI was able to work around this by explicitly defining a `def context; source.context; end` getter in my decorator. I fear, though, that this will break Draper in strange ways. Since I'm building a shared gem, I'm also concerned that other implementers of my gem will not know about this potential pitfall. I'm thinking of renaming my attribute, but...man...I loved that name...\r\n\r\nIs \"context\" too generic a term for Draper to use? Or is it a legitimate reserved keyword that I should not be using in my models? Would it be worth prefixing the draper context method to reduce the risk of overlap with wrapped models?"}}