{"action":"created","comment":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments/26283393","id":26283393,"diff_hunk":"@@ -0,0 +1,35 @@\n+# Be sure to restart your server when you modify this file.\n+\n+# Your secret key is used for verifying the integrity of signed cookies.\n+# If you change this key, all old signed cookies will become invalid!\n+\n+# Make sure the secret is at least 30 characters and all random,\n+# no regular words or you'll be exposed to dictionary attacks.\n+# You can use `rake secret` to generate a secure secret key.\n+\n+# Make sure the secrets in this file are kept private\n+# if you're sharing your code publicly.\n+\n+defaults: &defaults\n+  # You can generate secret keys with 'rake secret'\n+\n+  # For rails cookies\n+  secret_key_base: '9edf3727559052d8c92c141b559886c09db26a2e3fc640cb53f1f773ee8415972069b5496202c85340f8fd455ae37e919a1b60c39b6b15ed72f6b8795bdda60d'\n+\n+  # For devise login tokens\n+  devise_secret_key: '775ce72c7fe6b8ea2aaa62d8e23be8a7aa842741cba07f66f11308acd921592b755ed6ab42e58ea2c404272e8e91fea9b29c39c13d5c55f354dbb5db66e57060'\n+\n+  # Your errbit API key\n+  # errbit_key: '12345'\n+\n+development:\n+  <<: *defaults\n+\n+test:\n+  <<: *defaults\n+\n+# Do not keep production secrets in the repository,\n+# instead read values from the environment.\n+production:\n+  secret_key_base: <%= ENV[\"SECRET_KEY_BASE\"] %>\n+  devise_secret_key: <%= ENV[\"SECRET_KEY_BASE\"] %>","path":"config/secrets.yml","position":35,"original_position":35,"commit_id":"a989c59c1982841d70a3cc57d6bb40e66a3fdcc8","original_commit_id":"a989c59c1982841d70a3cc57d6bb40e66a3fdcc8","user":{"login":"rohitpaulk","id":3893573,"avatar_url":"https://avatars.githubusercontent.com/u/3893573?v=3","gravatar_id":"","url":"https://api.github.com/users/rohitpaulk","html_url":"https://github.com/rohitpaulk","followers_url":"https://api.github.com/users/rohitpaulk/followers","following_url":"https://api.github.com/users/rohitpaulk/following{/other_user}","gists_url":"https://api.github.com/users/rohitpaulk/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitpaulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitpaulk/subscriptions","organizations_url":"https://api.github.com/users/rohitpaulk/orgs","repos_url":"https://api.github.com/users/rohitpaulk/repos","events_url":"https://api.github.com/users/rohitpaulk/events{/privacy}","received_events_url":"https://api.github.com/users/rohitpaulk/received_events","type":"User","site_admin":false},"body":"Everything looks good to me, except here - Should these 2 keys both be the same?","created_at":"2015-03-12T07:45:26Z","updated_at":"2015-03-12T07:45:26Z","html_url":"https://github.com/glittergallery/GlitterGallery/pull/255#discussion_r26283393","pull_request_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255","_links":{"self":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments/26283393"},"html":{"href":"https://github.com/glittergallery/GlitterGallery/pull/255#discussion_r26283393"},"pull_request":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255"}}},"pull_request":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255","id":31008541,"html_url":"https://github.com/glittergallery/GlitterGallery/pull/255","diff_url":"https://github.com/glittergallery/GlitterGallery/pull/255.diff","patch_url":"https://github.com/glittergallery/GlitterGallery/pull/255.patch","issue_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/255","number":255,"state":"open","locked":false,"title":"Upgrade to rails 4.1","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"body":"* changing \"http://rubygems.org\" to \"https://rubygems.org\"  fixed \"Bundler::MarshalError TypeError: incompatible marshal file format\" error during bundle install\r\n* rails 4.1 has better way to handling secret keys for different environments\r\n* rails 4.1 doesn't support default_scope without block, hence change in comment.rb. Details on [stackoverflow](http://stackoverflow.com/questions/24163571/default-scope-activerecord-4-1-block-usage-for-ordering#answer-24164710)  \r\n\r\nI know I have sent this PR earlier too but they were just messed up. \r\n#trying to follow suggestions from emily","created_at":"2015-03-12T05:02:01Z","updated_at":"2015-03-12T07:45:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"870430760ab5b3fc1a4b9cb212b23e0786d03f9f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255/commits","review_comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255/comments","review_comment_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/255/comments","statuses_url":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/a989c59c1982841d70a3cc57d6bb40e66a3fdcc8","head":{"label":"sonalkr132:upgrade_rails","ref":"upgrade_rails","sha":"a989c59c1982841d70a3cc57d6bb40e66a3fdcc8","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"repo":{"id":31713134,"name":"GlitterGallery","full_name":"sonalkr132/GlitterGallery","owner":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sonalkr132/GlitterGallery","description":"Share, collect feedback on, and view/manage design iterations.","fork":true,"url":"https://api.github.com/repos/sonalkr132/GlitterGallery","forks_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/forks","keys_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/teams","hooks_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/hooks","issue_events_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues/events{/number}","events_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/events","assignees_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/assignees{/user}","branches_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/branches{/branch}","tags_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/tags","blobs_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/languages","stargazers_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/stargazers","contributors_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/contributors","subscribers_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/subscribers","subscription_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/subscription","commits_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/contents/{+path}","compare_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/merges","archive_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/downloads","issues_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/issues{/number}","pulls_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/labels{/name}","releases_url":"https://api.github.com/repos/sonalkr132/GlitterGallery/releases{/id}","created_at":"2015-03-05T12:41:04Z","updated_at":"2015-03-10T12:53:25Z","pushed_at":"2015-03-12T06:40:24Z","git_url":"git://github.com/sonalkr132/GlitterGallery.git","ssh_url":"git@github.com:sonalkr132/GlitterGallery.git","clone_url":"https://github.com/sonalkr132/GlitterGallery.git","svn_url":"https://github.com/sonalkr132/GlitterGallery","homepage":"","size":26931,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"glittergallery:master","ref":"master","sha":"af222f2d3485b7b030841dbfb008eb3f98aa83f0","user":{"login":"glittergallery","id":6554891,"avatar_url":"https://avatars.githubusercontent.com/u/6554891?v=3","gravatar_id":"","url":"https://api.github.com/users/glittergallery","html_url":"https://github.com/glittergallery","followers_url":"https://api.github.com/users/glittergallery/followers","following_url":"https://api.github.com/users/glittergallery/following{/other_user}","gists_url":"https://api.github.com/users/glittergallery/gists{/gist_id}","starred_url":"https://api.github.com/users/glittergallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittergallery/subscriptions","organizations_url":"https://api.github.com/users/glittergallery/orgs","repos_url":"https://api.github.com/users/glittergallery/repos","events_url":"https://api.github.com/users/glittergallery/events{/privacy}","received_events_url":"https://api.github.com/users/glittergallery/received_events","type":"Organization","site_admin":false},"repo":{"id":4059120,"name":"GlitterGallery","full_name":"glittergallery/GlitterGallery","owner":{"login":"glittergallery","id":6554891,"avatar_url":"https://avatars.githubusercontent.com/u/6554891?v=3","gravatar_id":"","url":"https://api.github.com/users/glittergallery","html_url":"https://github.com/glittergallery","followers_url":"https://api.github.com/users/glittergallery/followers","following_url":"https://api.github.com/users/glittergallery/following{/other_user}","gists_url":"https://api.github.com/users/glittergallery/gists{/gist_id}","starred_url":"https://api.github.com/users/glittergallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittergallery/subscriptions","organizations_url":"https://api.github.com/users/glittergallery/orgs","repos_url":"https://api.github.com/users/glittergallery/repos","events_url":"https://api.github.com/users/glittergallery/events{/privacy}","received_events_url":"https://api.github.com/users/glittergallery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glittergallery/GlitterGallery","description":"Share, collect feedback on, and view/manage design iterations.","fork":false,"url":"https://api.github.com/repos/glittergallery/GlitterGallery","forks_url":"https://api.github.com/repos/glittergallery/GlitterGallery/forks","keys_url":"https://api.github.com/repos/glittergallery/GlitterGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glittergallery/GlitterGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glittergallery/GlitterGallery/teams","hooks_url":"https://api.github.com/repos/glittergallery/GlitterGallery/hooks","issue_events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/events{/number}","events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/events","assignees_url":"https://api.github.com/repos/glittergallery/GlitterGallery/assignees{/user}","branches_url":"https://api.github.com/repos/glittergallery/GlitterGallery/branches{/branch}","tags_url":"https://api.github.com/repos/glittergallery/GlitterGallery/tags","blobs_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/glittergallery/GlitterGallery/languages","stargazers_url":"https://api.github.com/repos/glittergallery/GlitterGallery/stargazers","contributors_url":"https://api.github.com/repos/glittergallery/GlitterGallery/contributors","subscribers_url":"https://api.github.com/repos/glittergallery/GlitterGallery/subscribers","subscription_url":"https://api.github.com/repos/glittergallery/GlitterGallery/subscription","commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/glittergallery/GlitterGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/glittergallery/GlitterGallery/contents/{+path}","compare_url":"https://api.github.com/repos/glittergallery/GlitterGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glittergallery/GlitterGallery/merges","archive_url":"https://api.github.com/repos/glittergallery/GlitterGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glittergallery/GlitterGallery/downloads","issues_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues{/number}","pulls_url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/glittergallery/GlitterGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/glittergallery/GlitterGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glittergallery/GlitterGallery/labels{/name}","releases_url":"https://api.github.com/repos/glittergallery/GlitterGallery/releases{/id}","created_at":"2012-04-18T01:39:38Z","updated_at":"2015-03-11T11:43:50Z","pushed_at":"2015-03-11T11:43:50Z","git_url":"git://github.com/glittergallery/GlitterGallery.git","ssh_url":"git@github.com:glittergallery/GlitterGallery.git","clone_url":"https://github.com/glittergallery/GlitterGallery.git","svn_url":"https://github.com/glittergallery/GlitterGallery","homepage":"","size":28596,"stargazers_count":41,"watchers_count":41,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":40,"forks":42,"open_issues":40,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255"},"html":{"href":"https://github.com/glittergallery/GlitterGallery/pull/255"},"issue":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/255"},"comments":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/glittergallery/GlitterGallery/statuses/a989c59c1982841d70a3cc57d6bb40e66a3fdcc8"}}}}