{"action":"created","issue":{"url":"https://api.github.com/repos/jdickey/new_poc/issues/254","labels_url":"https://api.github.com/repos/jdickey/new_poc/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/jdickey/new_poc/issues/254/comments","events_url":"https://api.github.com/repos/jdickey/new_poc/issues/254/events","html_url":"https://github.com/jdickey/new_poc/pull/254","id":66633995,"number":254,"title":"Starting again with rework of `Post` entities","user":{"login":"jdickey","id":157938,"avatar_url":"https://avatars.githubusercontent.com/u/157938?v=3","gravatar_id":"","url":"https://api.github.com/users/jdickey","html_url":"https://github.com/jdickey","followers_url":"https://api.github.com/users/jdickey/followers","following_url":"https://api.github.com/users/jdickey/following{/other_user}","gists_url":"https://api.github.com/users/jdickey/gists{/gist_id}","starred_url":"https://api.github.com/users/jdickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdickey/subscriptions","organizations_url":"https://api.github.com/users/jdickey/orgs","repos_url":"https://api.github.com/users/jdickey/repos","events_url":"https://api.github.com/users/jdickey/events{/privacy}","received_events_url":"https://api.github.com/users/jdickey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jdickey/new_poc/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jdickey","id":157938,"avatar_url":"https://avatars.githubusercontent.com/u/157938?v=3","gravatar_id":"","url":"https://api.github.com/users/jdickey","html_url":"https://github.com/jdickey","followers_url":"https://api.github.com/users/jdickey/followers","following_url":"https://api.github.com/users/jdickey/following{/other_user}","gists_url":"https://api.github.com/users/jdickey/gists{/gist_id}","starred_url":"https://api.github.com/users/jdickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdickey/subscriptions","organizations_url":"https://api.github.com/users/jdickey/orgs","repos_url":"https://api.github.com/users/jdickey/repos","events_url":"https://api.github.com/users/jdickey/events{/privacy}","received_events_url":"https://api.github.com/users/jdickey/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-06T15:39:05Z","updated_at":"2015-04-07T09:36:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jdickey/new_poc/pulls/254","html_url":"https://github.com/jdickey/new_poc/pull/254","diff_url":"https://github.com/jdickey/new_poc/pull/254.diff","patch_url":"https://github.com/jdickey/new_poc/pull/254.patch"},"body":"Replacing PR #252.\r\n\r\nOver the next *very few days*, we'll get a new version of `Entity::Posts` up that\r\n\r\n* isn't built around the [Pivotal unbuilt-Rails-dependencies approach](pivotallabs.com/unbuilt-rails-dependencies-how-to-design-for-loosely-coupled-highly-cohesive-components-within-a-rails-application/);\r\n* includes validation of core attributes in the most basic, default-level implementation;\r\n* includes presentation and attribute-oriented extensions in the style (if not necessarily with the exact same code) as the `Post` entity as of the last commit (06ac189) of the branch for PR #252;\r\n* as before, implements attributes using a [`ValueObject`](https://github.com/hdgarrood/value_object);\r\n* implements Actions that, in a break from the earlier PR's implementation, correctly assign *DAO instances* to controller-level instance variables so that Rails forms (etc) Just Work as with the current `User` entity;\r\n* gives serious consideration to code bloat in controller action-responder methods; should this level of change be required in future, it should be isolated from the controller code (e.g., by being isolated in the action classes themselves or in new action-responder classes) (would close #253);\r\n* can be used as a template to rework the `User` entity so that both entities use common code to the greatest sensible extent (which can then be factored out).\r\n\r\nThat should give us something to sink our coding chops into."},"comment":{"url":"https://api.github.com/repos/jdickey/new_poc/issues/comments/90484492","html_url":"https://github.com/jdickey/new_poc/pull/254#issuecomment-90484492","issue_url":"https://api.github.com/repos/jdickey/new_poc/issues/254","id":90484492,"user":{"login":"jdickey","id":157938,"avatar_url":"https://avatars.githubusercontent.com/u/157938?v=3","gravatar_id":"","url":"https://api.github.com/users/jdickey","html_url":"https://github.com/jdickey","followers_url":"https://api.github.com/users/jdickey/followers","following_url":"https://api.github.com/users/jdickey/following{/other_user}","gists_url":"https://api.github.com/users/jdickey/gists{/gist_id}","starred_url":"https://api.github.com/users/jdickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdickey/subscriptions","organizations_url":"https://api.github.com/users/jdickey/orgs","repos_url":"https://api.github.com/users/jdickey/repos","events_url":"https://api.github.com/users/jdickey/events{/privacy}","received_events_url":"https://api.github.com/users/jdickey/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T09:36:06Z","updated_at":"2015-04-07T09:36:06Z","body":"Now, It Would Be Very Nice If™ we could whitelist and/or blacklist attributes. This is a little tricky because we've already specified the attributes before we can call any instance methods. But of course there's at least one way around *that*, too."}}