{"action":"created","comment":{"url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/comments/176930370","pull_request_review_id":106720013,"id":176930370,"diff_hunk":"@@ -1,12 +1,94 @@\n+# defines the relation of User model  to other model\n class User < ApplicationRecord\n   # Include default devise modules. Others available are:\n   # :confirmable, :lockable, :timeoutable and :omniauthable\n   devise :database_authenticatable, :registerable,\n-         :recoverable, :rememberable, :trackable, :validatable, :confirmable\n+         :recoverable, :rememberable, :trackable, :validatable\n   has_many :designs\n   has_many :favourites\n   has_many :chats\n   has_many :feedbacks\n   has_many :followinglists\n   belongs_to :city \n+\n+\n+  def self.inactive_users\n+    User.where(activation: \"false\")\n+  end\n+\n+","path":"app/models/user.rb","position":20,"original_position":20,"commit_id":"89329c1bc76d42ff7221d3c9f6884136643da939","original_commit_id":"89329c1bc76d42ff7221d3c9f6884136643da939","user":{"login":"NishantUpadhyay-BTC","id":6542029,"avatar_url":"https://avatars3.githubusercontent.com/u/6542029?v=4","gravatar_id":"","url":"https://api.github.com/users/NishantUpadhyay-BTC","html_url":"https://github.com/NishantUpadhyay-BTC","followers_url":"https://api.github.com/users/NishantUpadhyay-BTC/followers","following_url":"https://api.github.com/users/NishantUpadhyay-BTC/following{/other_user}","gists_url":"https://api.github.com/users/NishantUpadhyay-BTC/gists{/gist_id}","starred_url":"https://api.github.com/users/NishantUpadhyay-BTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NishantUpadhyay-BTC/subscriptions","organizations_url":"https://api.github.com/users/NishantUpadhyay-BTC/orgs","repos_url":"https://api.github.com/users/NishantUpadhyay-BTC/repos","events_url":"https://api.github.com/users/NishantUpadhyay-BTC/events{/privacy}","received_events_url":"https://api.github.com/users/NishantUpadhyay-BTC/received_events","type":"User","site_admin":false},"body":"remove blank lines","created_at":"2018-03-25T06:29:13Z","updated_at":"2018-03-25T06:36:18Z","html_url":"https://github.com/jn-nandha/DesignersWallet/pull/3#discussion_r176930370","pull_request_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/comments/176930370"},"html":{"href":"https://github.com/jn-nandha/DesignersWallet/pull/3#discussion_r176930370"},"pull_request":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3","id":173369467,"html_url":"https://github.com/jn-nandha/DesignersWallet/pull/3","diff_url":"https://github.com/jn-nandha/DesignersWallet/pull/3.diff","patch_url":"https://github.com/jn-nandha/DesignersWallet/pull/3.patch","issue_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/3","number":3,"state":"open","locked":false,"title":"Design","user":{"login":"tejasviniparikh","id":20968210,"avatar_url":"https://avatars2.githubusercontent.com/u/20968210?v=4","gravatar_id":"","url":"https://api.github.com/users/tejasviniparikh","html_url":"https://github.com/tejasviniparikh","followers_url":"https://api.github.com/users/tejasviniparikh/followers","following_url":"https://api.github.com/users/tejasviniparikh/following{/other_user}","gists_url":"https://api.github.com/users/tejasviniparikh/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasviniparikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasviniparikh/subscriptions","organizations_url":"https://api.github.com/users/tejasviniparikh/orgs","repos_url":"https://api.github.com/users/tejasviniparikh/repos","events_url":"https://api.github.com/users/tejasviniparikh/events{/privacy}","received_events_url":"https://api.github.com/users/tejasviniparikh/received_events","type":"User","site_admin":false},"body":"Design Module:\r\n              Design uploading, deletion,Dashboard(user's followings posts are available on dashboard also user is able to see all posts on dashboard).\r\n              User can add images to their favourite list.\r\nSearch Module:\r\n              User is able to search any other user by name,user can see designs category wise,user can see designs of particular user with particular categories.","created_at":"2018-03-07T07:10:29Z","updated_at":"2018-03-25T06:36:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e055bbfbc9e63484304f0627082e3c9d6c6ea73","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/3/comments","statuses_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/statuses/89329c1bc76d42ff7221d3c9f6884136643da939","head":{"label":"jn-nandha:Design","ref":"Design","sha":"89329c1bc76d42ff7221d3c9f6884136643da939","user":{"login":"jn-nandha","id":20968853,"avatar_url":"https://avatars2.githubusercontent.com/u/20968853?v=4","gravatar_id":"","url":"https://api.github.com/users/jn-nandha","html_url":"https://github.com/jn-nandha","followers_url":"https://api.github.com/users/jn-nandha/followers","following_url":"https://api.github.com/users/jn-nandha/following{/other_user}","gists_url":"https://api.github.com/users/jn-nandha/gists{/gist_id}","starred_url":"https://api.github.com/users/jn-nandha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jn-nandha/subscriptions","organizations_url":"https://api.github.com/users/jn-nandha/orgs","repos_url":"https://api.github.com/users/jn-nandha/repos","events_url":"https://api.github.com/users/jn-nandha/events{/privacy}","received_events_url":"https://api.github.com/users/jn-nandha/received_events","type":"User","site_admin":false},"repo":{"id":121591584,"name":"DesignersWallet","full_name":"jn-nandha/DesignersWallet","owner":{"login":"jn-nandha","id":20968853,"avatar_url":"https://avatars2.githubusercontent.com/u/20968853?v=4","gravatar_id":"","url":"https://api.github.com/users/jn-nandha","html_url":"https://github.com/jn-nandha","followers_url":"https://api.github.com/users/jn-nandha/followers","following_url":"https://api.github.com/users/jn-nandha/following{/other_user}","gists_url":"https://api.github.com/users/jn-nandha/gists{/gist_id}","starred_url":"https://api.github.com/users/jn-nandha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jn-nandha/subscriptions","organizations_url":"https://api.github.com/users/jn-nandha/orgs","repos_url":"https://api.github.com/users/jn-nandha/repos","events_url":"https://api.github.com/users/jn-nandha/events{/privacy}","received_events_url":"https://api.github.com/users/jn-nandha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jn-nandha/DesignersWallet","description":null,"fork":false,"url":"https://api.github.com/repos/jn-nandha/DesignersWallet","forks_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/forks","keys_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/teams","hooks_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/hooks","issue_events_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/events{/number}","events_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/events","assignees_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/assignees{/user}","branches_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/branches{/branch}","tags_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/tags","blobs_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/statuses/{sha}","languages_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/languages","stargazers_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/stargazers","contributors_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/contributors","subscribers_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/subscribers","subscription_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/subscription","commits_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/contents/{+path}","compare_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/merges","archive_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/downloads","issues_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues{/number}","pulls_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls{/number}","milestones_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/milestones{/number}","notifications_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/labels{/name}","releases_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/releases{/id}","deployments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/deployments","created_at":"2018-02-15T04:38:03Z","updated_at":"2018-03-16T18:38:49Z","pushed_at":"2018-03-23T10:35:32Z","git_url":"git://github.com/jn-nandha/DesignersWallet.git","ssh_url":"git@github.com:jn-nandha/DesignersWallet.git","clone_url":"https://github.com/jn-nandha/DesignersWallet.git","svn_url":"https://github.com/jn-nandha/DesignersWallet","homepage":null,"size":20013,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"jn-nandha:development","ref":"development","sha":"73d3751745742c6d4965837874e387c8674e897e","user":{"login":"jn-nandha","id":20968853,"avatar_url":"https://avatars2.githubusercontent.com/u/20968853?v=4","gravatar_id":"","url":"https://api.github.com/users/jn-nandha","html_url":"https://github.com/jn-nandha","followers_url":"https://api.github.com/users/jn-nandha/followers","following_url":"https://api.github.com/users/jn-nandha/following{/other_user}","gists_url":"https://api.github.com/users/jn-nandha/gists{/gist_id}","starred_url":"https://api.github.com/users/jn-nandha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jn-nandha/subscriptions","organizations_url":"https://api.github.com/users/jn-nandha/orgs","repos_url":"https://api.github.com/users/jn-nandha/repos","events_url":"https://api.github.com/users/jn-nandha/events{/privacy}","received_events_url":"https://api.github.com/users/jn-nandha/received_events","type":"User","site_admin":false},"repo":{"id":121591584,"name":"DesignersWallet","full_name":"jn-nandha/DesignersWallet","owner":{"login":"jn-nandha","id":20968853,"avatar_url":"https://avatars2.githubusercontent.com/u/20968853?v=4","gravatar_id":"","url":"https://api.github.com/users/jn-nandha","html_url":"https://github.com/jn-nandha","followers_url":"https://api.github.com/users/jn-nandha/followers","following_url":"https://api.github.com/users/jn-nandha/following{/other_user}","gists_url":"https://api.github.com/users/jn-nandha/gists{/gist_id}","starred_url":"https://api.github.com/users/jn-nandha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jn-nandha/subscriptions","organizations_url":"https://api.github.com/users/jn-nandha/orgs","repos_url":"https://api.github.com/users/jn-nandha/repos","events_url":"https://api.github.com/users/jn-nandha/events{/privacy}","received_events_url":"https://api.github.com/users/jn-nandha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jn-nandha/DesignersWallet","description":null,"fork":false,"url":"https://api.github.com/repos/jn-nandha/DesignersWallet","forks_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/forks","keys_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/teams","hooks_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/hooks","issue_events_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/events{/number}","events_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/events","assignees_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/assignees{/user}","branches_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/branches{/branch}","tags_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/tags","blobs_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/statuses/{sha}","languages_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/languages","stargazers_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/stargazers","contributors_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/contributors","subscribers_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/subscribers","subscription_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/subscription","commits_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/contents/{+path}","compare_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/merges","archive_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/downloads","issues_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues{/number}","pulls_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls{/number}","milestones_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/milestones{/number}","notifications_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/labels{/name}","releases_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/releases{/id}","deployments_url":"https://api.github.com/repos/jn-nandha/DesignersWallet/deployments","created_at":"2018-02-15T04:38:03Z","updated_at":"2018-03-16T18:38:49Z","pushed_at":"2018-03-23T10:35:32Z","git_url":"git://github.com/jn-nandha/DesignersWallet.git","ssh_url":"git@github.com:jn-nandha/DesignersWallet.git","clone_url":"https://github.com/jn-nandha/DesignersWallet.git","svn_url":"https://github.com/jn-nandha/DesignersWallet","homepage":null,"size":20013,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3"},"html":{"href":"https://github.com/jn-nandha/DesignersWallet/pull/3"},"issue":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/3"},"comments":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jn-nandha/DesignersWallet/statuses/89329c1bc76d42ff7221d3c9f6884136643da939"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"NishantUpadhyay-BTC"}}