{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21","id":83048075,"html_url":"https://github.com/trailblazer/reform-rails/pull/21","diff_url":"https://github.com/trailblazer/reform-rails/pull/21.diff","patch_url":"https://github.com/trailblazer/reform-rails/pull/21.patch","issue_url":"https://api.github.com/repos/trailblazer/reform-rails/issues/21","number":21,"state":"closed","locked":false,"title":"Use private_name of attribute on unique validation","user":{"login":"adisos","id":592907,"avatar_url":"https://avatars.githubusercontent.com/u/592907?v=3","gravatar_id":"","url":"https://api.github.com/users/adisos","html_url":"https://github.com/adisos","followers_url":"https://api.github.com/users/adisos/followers","following_url":"https://api.github.com/users/adisos/following{/other_user}","gists_url":"https://api.github.com/users/adisos/gists{/gist_id}","starred_url":"https://api.github.com/users/adisos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adisos/subscriptions","organizations_url":"https://api.github.com/users/adisos/orgs","repos_url":"https://api.github.com/users/adisos/repos","events_url":"https://api.github.com/users/adisos/events{/privacy}","received_events_url":"https://api.github.com/users/adisos/received_events","type":"User","site_admin":false},"body":"If we declared property like this:\r\n```\r\nproperty :field, from: :another_field\r\n```\r\nnow it raises error, because there is no column `:field` in database.  \r\n","created_at":"2016-08-29T05:57:17Z","updated_at":"2016-09-27T03:29:26Z","closed_at":"2016-09-27T03:29:26Z","merged_at":null,"merge_commit_sha":"186e7e9171eabc10ce690554c127db4627601c92","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21/commits","review_comments_url":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21/comments","review_comment_url":"https://api.github.com/repos/trailblazer/reform-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trailblazer/reform-rails/issues/21/comments","statuses_url":"https://api.github.com/repos/trailblazer/reform-rails/statuses/745ac280ca3a6bb6ca74252047cf48a3dbb55ee4","head":{"label":"Spalmalo:stable","ref":"stable","sha":"745ac280ca3a6bb6ca74252047cf48a3dbb55ee4","user":{"login":"Spalmalo","id":8220475,"avatar_url":"https://avatars.githubusercontent.com/u/8220475?v=3","gravatar_id":"","url":"https://api.github.com/users/Spalmalo","html_url":"https://github.com/Spalmalo","followers_url":"https://api.github.com/users/Spalmalo/followers","following_url":"https://api.github.com/users/Spalmalo/following{/other_user}","gists_url":"https://api.github.com/users/Spalmalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Spalmalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spalmalo/subscriptions","organizations_url":"https://api.github.com/users/Spalmalo/orgs","repos_url":"https://api.github.com/users/Spalmalo/repos","events_url":"https://api.github.com/users/Spalmalo/events{/privacy}","received_events_url":"https://api.github.com/users/Spalmalo/received_events","type":"Organization","site_admin":false},"repo":{"id":66332475,"name":"reform-rails","full_name":"Spalmalo/reform-rails","owner":{"login":"Spalmalo","id":8220475,"avatar_url":"https://avatars.githubusercontent.com/u/8220475?v=3","gravatar_id":"","url":"https://api.github.com/users/Spalmalo","html_url":"https://github.com/Spalmalo","followers_url":"https://api.github.com/users/Spalmalo/followers","following_url":"https://api.github.com/users/Spalmalo/following{/other_user}","gists_url":"https://api.github.com/users/Spalmalo/gists{/gist_id}","starred_url":"https://api.github.com/users/Spalmalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spalmalo/subscriptions","organizations_url":"https://api.github.com/users/Spalmalo/orgs","repos_url":"https://api.github.com/users/Spalmalo/repos","events_url":"https://api.github.com/users/Spalmalo/events{/privacy}","received_events_url":"https://api.github.com/users/Spalmalo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Spalmalo/reform-rails","description":"Automatically load and include all common Rails form features.","fork":true,"url":"https://api.github.com/repos/Spalmalo/reform-rails","forks_url":"https://api.github.com/repos/Spalmalo/reform-rails/forks","keys_url":"https://api.github.com/repos/Spalmalo/reform-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Spalmalo/reform-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Spalmalo/reform-rails/teams","hooks_url":"https://api.github.com/repos/Spalmalo/reform-rails/hooks","issue_events_url":"https://api.github.com/repos/Spalmalo/reform-rails/issues/events{/number}","events_url":"https://api.github.com/repos/Spalmalo/reform-rails/events","assignees_url":"https://api.github.com/repos/Spalmalo/reform-rails/assignees{/user}","branches_url":"https://api.github.com/repos/Spalmalo/reform-rails/branches{/branch}","tags_url":"https://api.github.com/repos/Spalmalo/reform-rails/tags","blobs_url":"https://api.github.com/repos/Spalmalo/reform-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Spalmalo/reform-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Spalmalo/reform-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/Spalmalo/reform-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Spalmalo/reform-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/Spalmalo/reform-rails/languages","stargazers_url":"https://api.github.com/repos/Spalmalo/reform-rails/stargazers","contributors_url":"https://api.github.com/repos/Spalmalo/reform-rails/contributors","subscribers_url":"https://api.github.com/repos/Spalmalo/reform-rails/subscribers","subscription_url":"https://api.github.com/repos/Spalmalo/reform-rails/subscription","commits_url":"https://api.github.com/repos/Spalmalo/reform-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/Spalmalo/reform-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/Spalmalo/reform-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/Spalmalo/reform-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/Spalmalo/reform-rails/contents/{+path}","compare_url":"https://api.github.com/repos/Spalmalo/reform-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Spalmalo/reform-rails/merges","archive_url":"https://api.github.com/repos/Spalmalo/reform-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Spalmalo/reform-rails/downloads","issues_url":"https://api.github.com/repos/Spalmalo/reform-rails/issues{/number}","pulls_url":"https://api.github.com/repos/Spalmalo/reform-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/Spalmalo/reform-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/Spalmalo/reform-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Spalmalo/reform-rails/labels{/name}","releases_url":"https://api.github.com/repos/Spalmalo/reform-rails/releases{/id}","deployments_url":"https://api.github.com/repos/Spalmalo/reform-rails/deployments","created_at":"2016-08-23T04:14:41Z","updated_at":"2016-08-23T04:14:42Z","pushed_at":"2016-08-29T05:53:36Z","git_url":"git://github.com/Spalmalo/reform-rails.git","ssh_url":"git@github.com:Spalmalo/reform-rails.git","clone_url":"https://github.com/Spalmalo/reform-rails.git","svn_url":"https://github.com/Spalmalo/reform-rails","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"stable"}},"base":{"label":"trailblazer:master","ref":"master","sha":"c0124fccab74668e340f2dbdf0dba0e3d550604b","user":{"login":"trailblazer","id":9336830,"avatar_url":"https://avatars.githubusercontent.com/u/9336830?v=3","gravatar_id":"","url":"https://api.github.com/users/trailblazer","html_url":"https://github.com/trailblazer","followers_url":"https://api.github.com/users/trailblazer/followers","following_url":"https://api.github.com/users/trailblazer/following{/other_user}","gists_url":"https://api.github.com/users/trailblazer/gists{/gist_id}","starred_url":"https://api.github.com/users/trailblazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trailblazer/subscriptions","organizations_url":"https://api.github.com/users/trailblazer/orgs","repos_url":"https://api.github.com/users/trailblazer/repos","events_url":"https://api.github.com/users/trailblazer/events{/privacy}","received_events_url":"https://api.github.com/users/trailblazer/received_events","type":"Organization","site_admin":false},"repo":{"id":40753214,"name":"reform-rails","full_name":"trailblazer/reform-rails","owner":{"login":"trailblazer","id":9336830,"avatar_url":"https://avatars.githubusercontent.com/u/9336830?v=3","gravatar_id":"","url":"https://api.github.com/users/trailblazer","html_url":"https://github.com/trailblazer","followers_url":"https://api.github.com/users/trailblazer/followers","following_url":"https://api.github.com/users/trailblazer/following{/other_user}","gists_url":"https://api.github.com/users/trailblazer/gists{/gist_id}","starred_url":"https://api.github.com/users/trailblazer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trailblazer/subscriptions","organizations_url":"https://api.github.com/users/trailblazer/orgs","repos_url":"https://api.github.com/users/trailblazer/repos","events_url":"https://api.github.com/users/trailblazer/events{/privacy}","received_events_url":"https://api.github.com/users/trailblazer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trailblazer/reform-rails","description":"Automatically load and include all common Rails form features.","fork":false,"url":"https://api.github.com/repos/trailblazer/reform-rails","forks_url":"https://api.github.com/repos/trailblazer/reform-rails/forks","keys_url":"https://api.github.com/repos/trailblazer/reform-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trailblazer/reform-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trailblazer/reform-rails/teams","hooks_url":"https://api.github.com/repos/trailblazer/reform-rails/hooks","issue_events_url":"https://api.github.com/repos/trailblazer/reform-rails/issues/events{/number}","events_url":"https://api.github.com/repos/trailblazer/reform-rails/events","assignees_url":"https://api.github.com/repos/trailblazer/reform-rails/assignees{/user}","branches_url":"https://api.github.com/repos/trailblazer/reform-rails/branches{/branch}","tags_url":"https://api.github.com/repos/trailblazer/reform-rails/tags","blobs_url":"https://api.github.com/repos/trailblazer/reform-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trailblazer/reform-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trailblazer/reform-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/trailblazer/reform-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trailblazer/reform-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/trailblazer/reform-rails/languages","stargazers_url":"https://api.github.com/repos/trailblazer/reform-rails/stargazers","contributors_url":"https://api.github.com/repos/trailblazer/reform-rails/contributors","subscribers_url":"https://api.github.com/repos/trailblazer/reform-rails/subscribers","subscription_url":"https://api.github.com/repos/trailblazer/reform-rails/subscription","commits_url":"https://api.github.com/repos/trailblazer/reform-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/trailblazer/reform-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/trailblazer/reform-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/trailblazer/reform-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/trailblazer/reform-rails/contents/{+path}","compare_url":"https://api.github.com/repos/trailblazer/reform-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trailblazer/reform-rails/merges","archive_url":"https://api.github.com/repos/trailblazer/reform-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trailblazer/reform-rails/downloads","issues_url":"https://api.github.com/repos/trailblazer/reform-rails/issues{/number}","pulls_url":"https://api.github.com/repos/trailblazer/reform-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/trailblazer/reform-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/trailblazer/reform-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trailblazer/reform-rails/labels{/name}","releases_url":"https://api.github.com/repos/trailblazer/reform-rails/releases{/id}","deployments_url":"https://api.github.com/repos/trailblazer/reform-rails/deployments","created_at":"2015-08-15T09:17:22Z","updated_at":"2016-09-06T07:44:56Z","pushed_at":"2016-09-26T19:14:09Z","git_url":"git://github.com/trailblazer/reform-rails.git","ssh_url":"git@github.com:trailblazer/reform-rails.git","clone_url":"https://github.com/trailblazer/reform-rails.git","svn_url":"https://github.com/trailblazer/reform-rails","homepage":null,"size":120,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":13,"forks":18,"open_issues":13,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21"},"html":{"href":"https://github.com/trailblazer/reform-rails/pull/21"},"issue":{"href":"https://api.github.com/repos/trailblazer/reform-rails/issues/21"},"comments":{"href":"https://api.github.com/repos/trailblazer/reform-rails/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/trailblazer/reform-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trailblazer/reform-rails/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/trailblazer/reform-rails/statuses/745ac280ca3a6bb6ca74252047cf48a3dbb55ee4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":8,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"adisos"}}