{"action":"created","comment":{"url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/comments/42017219","id":42017219,"diff_hunk":"@@ -0,0 +1,47 @@\n+module CsvRowModel\n+  module Model\n+    module DynamicColumns\n+      extend ActiveSupport::Concern\n+\n+      def attributes\n+        super.merge(attributes_from_column_names(self.class.dynamic_column_names))\n+      end\n+\n+      class_methods do\n+        def dynamic_columns_headers(context={})\n+          dynamic_column_names.map do |column_name|\n+            OpenStruct.new(context).public_send(column_name).each do |header_model|\n+              public_send(\"#{column_name.to_s.singularize}_header\", header_model)\n+            end\n+          end.flatten\n+        end\n+\n+        VALID_OPTIONS_KEYS = %i[request]","path":"lib/csv_row_model/model/dynamic_columns.rb","position":19,"original_position":19,"commit_id":"f0ced22f89007d59d94dfa5178217f3392771638","original_commit_id":"f0ced22f89007d59d94dfa5178217f3392771638","user":{"login":"s12chung","id":263394,"avatar_url":"https://avatars.githubusercontent.com/u/263394?v=3","gravatar_id":"","url":"https://api.github.com/users/s12chung","html_url":"https://github.com/s12chung","followers_url":"https://api.github.com/users/s12chung/followers","following_url":"https://api.github.com/users/s12chung/following{/other_user}","gists_url":"https://api.github.com/users/s12chung/gists{/gist_id}","starred_url":"https://api.github.com/users/s12chung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s12chung/subscriptions","organizations_url":"https://api.github.com/users/s12chung/orgs","repos_url":"https://api.github.com/users/s12chung/repos","events_url":"https://api.github.com/users/s12chung/events{/privacy}","received_events_url":"https://api.github.com/users/s12chung/received_events","type":"User","site_admin":false},"body":"delete :P","created_at":"2015-10-14T16:30:11Z","updated_at":"2015-10-14T16:30:11Z","html_url":"https://github.com/FinalCAD/csv_row_model/pull/36#discussion_r42017219","pull_request_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/comments/42017219"},"html":{"href":"https://github.com/FinalCAD/csv_row_model/pull/36#discussion_r42017219"},"pull_request":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36","id":47648362,"html_url":"https://github.com/FinalCAD/csv_row_model/pull/36","diff_url":"https://github.com/FinalCAD/csv_row_model/pull/36.diff","patch_url":"https://github.com/FinalCAD/csv_row_model/pull/36.patch","issue_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/36","number":36,"state":"open","locked":false,"title":"Working","user":{"login":"joel","id":5789,"avatar_url":"https://avatars.githubusercontent.com/u/5789?v=3","gravatar_id":"","url":"https://api.github.com/users/joel","html_url":"https://github.com/joel","followers_url":"https://api.github.com/users/joel/followers","following_url":"https://api.github.com/users/joel/following{/other_user}","gists_url":"https://api.github.com/users/joel/gists{/gist_id}","starred_url":"https://api.github.com/users/joel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joel/subscriptions","organizations_url":"https://api.github.com/users/joel/orgs","repos_url":"https://api.github.com/users/joel/repos","events_url":"https://api.github.com/users/joel/events{/privacy}","received_events_url":"https://api.github.com/users/joel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-14T11:43:37Z","updated_at":"2015-10-14T16:30:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6edb986a599afaf5738d375be7a423be912b3c70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36/commits","review_comments_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36/comments","review_comment_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/36/comments","statuses_url":"https://api.github.com/repos/FinalCAD/csv_row_model/statuses/f0ced22f89007d59d94dfa5178217f3392771638","head":{"label":"FinalCAD:working","ref":"working","sha":"f0ced22f89007d59d94dfa5178217f3392771638","user":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"repo":{"id":38328805,"name":"csv_row_model","full_name":"FinalCAD/csv_row_model","owner":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FinalCAD/csv_row_model","description":"Import and export your custom CSVs with a shared Ruby ORM-like interface.","fork":false,"url":"https://api.github.com/repos/FinalCAD/csv_row_model","forks_url":"https://api.github.com/repos/FinalCAD/csv_row_model/forks","keys_url":"https://api.github.com/repos/FinalCAD/csv_row_model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalCAD/csv_row_model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalCAD/csv_row_model/teams","hooks_url":"https://api.github.com/repos/FinalCAD/csv_row_model/hooks","issue_events_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/events{/number}","events_url":"https://api.github.com/repos/FinalCAD/csv_row_model/events","assignees_url":"https://api.github.com/repos/FinalCAD/csv_row_model/assignees{/user}","branches_url":"https://api.github.com/repos/FinalCAD/csv_row_model/branches{/branch}","tags_url":"https://api.github.com/repos/FinalCAD/csv_row_model/tags","blobs_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalCAD/csv_row_model/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalCAD/csv_row_model/languages","stargazers_url":"https://api.github.com/repos/FinalCAD/csv_row_model/stargazers","contributors_url":"https://api.github.com/repos/FinalCAD/csv_row_model/contributors","subscribers_url":"https://api.github.com/repos/FinalCAD/csv_row_model/subscribers","subscription_url":"https://api.github.com/repos/FinalCAD/csv_row_model/subscription","commits_url":"https://api.github.com/repos/FinalCAD/csv_row_model/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalCAD/csv_row_model/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalCAD/csv_row_model/contents/{+path}","compare_url":"https://api.github.com/repos/FinalCAD/csv_row_model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalCAD/csv_row_model/merges","archive_url":"https://api.github.com/repos/FinalCAD/csv_row_model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalCAD/csv_row_model/downloads","issues_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues{/number}","pulls_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalCAD/csv_row_model/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalCAD/csv_row_model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalCAD/csv_row_model/labels{/name}","releases_url":"https://api.github.com/repos/FinalCAD/csv_row_model/releases{/id}","created_at":"2015-06-30T19:28:49Z","updated_at":"2015-08-15T00:44:08Z","pushed_at":"2015-10-14T16:12:54Z","git_url":"git://github.com/FinalCAD/csv_row_model.git","ssh_url":"git@github.com:FinalCAD/csv_row_model.git","clone_url":"https://github.com/FinalCAD/csv_row_model.git","svn_url":"https://github.com/FinalCAD/csv_row_model","homepage":"","size":952,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"FinalCAD:master","ref":"master","sha":"db300f35858e23f303538ebf1fd51e51e5cf07ce","user":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"repo":{"id":38328805,"name":"csv_row_model","full_name":"FinalCAD/csv_row_model","owner":{"login":"FinalCAD","id":7592480,"avatar_url":"https://avatars.githubusercontent.com/u/7592480?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalCAD","html_url":"https://github.com/FinalCAD","followers_url":"https://api.github.com/users/FinalCAD/followers","following_url":"https://api.github.com/users/FinalCAD/following{/other_user}","gists_url":"https://api.github.com/users/FinalCAD/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalCAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalCAD/subscriptions","organizations_url":"https://api.github.com/users/FinalCAD/orgs","repos_url":"https://api.github.com/users/FinalCAD/repos","events_url":"https://api.github.com/users/FinalCAD/events{/privacy}","received_events_url":"https://api.github.com/users/FinalCAD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FinalCAD/csv_row_model","description":"Import and export your custom CSVs with a shared Ruby ORM-like interface.","fork":false,"url":"https://api.github.com/repos/FinalCAD/csv_row_model","forks_url":"https://api.github.com/repos/FinalCAD/csv_row_model/forks","keys_url":"https://api.github.com/repos/FinalCAD/csv_row_model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalCAD/csv_row_model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalCAD/csv_row_model/teams","hooks_url":"https://api.github.com/repos/FinalCAD/csv_row_model/hooks","issue_events_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/events{/number}","events_url":"https://api.github.com/repos/FinalCAD/csv_row_model/events","assignees_url":"https://api.github.com/repos/FinalCAD/csv_row_model/assignees{/user}","branches_url":"https://api.github.com/repos/FinalCAD/csv_row_model/branches{/branch}","tags_url":"https://api.github.com/repos/FinalCAD/csv_row_model/tags","blobs_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalCAD/csv_row_model/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalCAD/csv_row_model/languages","stargazers_url":"https://api.github.com/repos/FinalCAD/csv_row_model/stargazers","contributors_url":"https://api.github.com/repos/FinalCAD/csv_row_model/contributors","subscribers_url":"https://api.github.com/repos/FinalCAD/csv_row_model/subscribers","subscription_url":"https://api.github.com/repos/FinalCAD/csv_row_model/subscription","commits_url":"https://api.github.com/repos/FinalCAD/csv_row_model/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalCAD/csv_row_model/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalCAD/csv_row_model/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalCAD/csv_row_model/contents/{+path}","compare_url":"https://api.github.com/repos/FinalCAD/csv_row_model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalCAD/csv_row_model/merges","archive_url":"https://api.github.com/repos/FinalCAD/csv_row_model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalCAD/csv_row_model/downloads","issues_url":"https://api.github.com/repos/FinalCAD/csv_row_model/issues{/number}","pulls_url":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalCAD/csv_row_model/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalCAD/csv_row_model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalCAD/csv_row_model/labels{/name}","releases_url":"https://api.github.com/repos/FinalCAD/csv_row_model/releases{/id}","created_at":"2015-06-30T19:28:49Z","updated_at":"2015-08-15T00:44:08Z","pushed_at":"2015-10-14T16:12:54Z","git_url":"git://github.com/FinalCAD/csv_row_model.git","ssh_url":"git@github.com:FinalCAD/csv_row_model.git","clone_url":"https://github.com/FinalCAD/csv_row_model.git","svn_url":"https://github.com/FinalCAD/csv_row_model","homepage":"","size":952,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36"},"html":{"href":"https://github.com/FinalCAD/csv_row_model/pull/36"},"issue":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/36"},"comments":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/FinalCAD/csv_row_model/statuses/f0ced22f89007d59d94dfa5178217f3392771638"}}}}