{"action":"created","issue":{"url":"https://api.github.com/repos/orgsync/active_interaction/issues/269","labels_url":"https://api.github.com/repos/orgsync/active_interaction/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/orgsync/active_interaction/issues/269/comments","events_url":"https://api.github.com/repos/orgsync/active_interaction/issues/269/events","html_url":"https://github.com/orgsync/active_interaction/issues/269","id":65316514,"number":269,"title":"Evaluate default attribute procs on #execute","user":{"login":"hadronzoo","id":1408,"avatar_url":"https://avatars.githubusercontent.com/u/1408?v=3","gravatar_id":"","url":"https://api.github.com/users/hadronzoo","html_url":"https://github.com/hadronzoo","followers_url":"https://api.github.com/users/hadronzoo/followers","following_url":"https://api.github.com/users/hadronzoo/following{/other_user}","gists_url":"https://api.github.com/users/hadronzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hadronzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadronzoo/subscriptions","organizations_url":"https://api.github.com/users/hadronzoo/orgs","repos_url":"https://api.github.com/users/hadronzoo/repos","events_url":"https://api.github.com/users/hadronzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hadronzoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orgsync/active_interaction/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T22:21:53Z","updated_at":"2015-03-30T22:31:30Z","closed_at":null,"body":"Defaults attributes are evaluated on class definition, even if the default is a proc or a lambda. It would be useful and less surprising if default procs were executed when `run!` was called rather than when the interaction was required."},"comment":{"url":"https://api.github.com/repos/orgsync/active_interaction/issues/comments/87860150","html_url":"https://github.com/orgsync/active_interaction/issues/269#issuecomment-87860150","issue_url":"https://api.github.com/repos/orgsync/active_interaction/issues/269","id":87860150,"user":{"login":"tfausak","id":408753,"avatar_url":"https://avatars.githubusercontent.com/u/408753?v=3","gravatar_id":"","url":"https://api.github.com/users/tfausak","html_url":"https://github.com/tfausak","followers_url":"https://api.github.com/users/tfausak/followers","following_url":"https://api.github.com/users/tfausak/following{/other_user}","gists_url":"https://api.github.com/users/tfausak/gists{/gist_id}","starred_url":"https://api.github.com/users/tfausak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfausak/subscriptions","organizations_url":"https://api.github.com/users/tfausak/orgs","repos_url":"https://api.github.com/users/tfausak/repos","events_url":"https://api.github.com/users/tfausak/events{/privacy}","received_events_url":"https://api.github.com/users/tfausak/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T22:31:30Z","updated_at":"2015-03-30T22:31:30Z","body":"Yeah, I agree. We didn't consider this when we made #141. The offending line is in [`ActiveInteraction::Base`](https://github.com/orgsync/active_interaction/blob/779ebe3c7f80d5747bbcd3ec951d6c04f60d5699/lib/active_interaction/base.rb#L172). It has been like that for a long while. I think it originally came from 6b165d5b90b4f455a0e6e65fdca26c03bd06496a. "}}