{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/comments/47859871","id":47859871,"diff_hunk":"@@ -1,58 +1,148 @@\n # Edit/Update Action\n \n-## Objectives\n+## Rails Controller Conventions\n \n-1. Use form_tag to build an edit form that submits a PUT to update action\n-2. Use form_tag and input helpers to prefill form fields based on an AR instance\n-3. Find an instance to edit using a dynamic route\n-4. Describe the input hack and how to manually trigger another HTTP method\n-5. Manually update an instance based on form data\n-6. Use update to mass assign data from params to a post to update redirect to show\n-7. Explain the problems with form_tag for an edit page\n+Now that you know how to implement a create action the next logical step will be to integrate an edit/update action. As you may have noticed, there is a trend in Rails conventions where the logic for rendering a form is separate from the action that the manages the database record alteration. For example:\n \n+* The `new` action in the controller simply rendering the `new` form\n \n-## Notes\n+* The `create` action is what actually handled the process for inserting the form data into the database\n \n-let's build an edit and update form that uses form_tag\n+In like fashion, the `edit` and `update` actions have a similar convention:\n \n-edit/update is more complex then new/create but we're dealing with existing data.\n+* The `edit` action will handle rendering the `edit` form\n \n-posts#edit needs to find the post we're talking about which means that /posts/:id/edit route.\n+* The `update` action will be the method that updates the database record itself\n \n-then we render the edit_form.html\n \n-we need to point to a different action with a different non support method\n+## Rendering the `edit` form\n \n-first, what's the URL or named route for the form_tag? post_path(@post). submit the form with that, we get to post show because the form submitted with a GET/POST request instead of a PUT request.\n+To start off, let's draw a `get` route for our edit form, since the form will need to know which record is being edited this will need to be a dynamic route that accepts an `:id` as a parameter so it can be accessed by the controller:\n \n-the _input hack passing :method to form_tag automatically embeds input hack in your form.\n+```ruby\n+get '/post/:id/edit', to: 'posts#edit'\n+```\n \n-now that we have the form wrapper pointing to the write action/url with the method hack, what else is different about our edit form vs our new form?\n+We still need to draw one additional route to handle the `update` action, this route will also need to be dynamic and accept an `:id` as a parameter so the `update` action will know what record is being altered:\n \n-the edit form needs to pre fill.\n+```ruby\n+put 'post/:id', to: 'posts#update'\n+```\n \n-Let's use @post from the controller to prefill the value attribute of our inputs with text_field_tag 'post_title', :value => @post.title (or is it just the 2nd argument)\n+If you run `rake routes` you will see we have two new routes:\n \n-Now the form looks good.\n+```\n+Verb    URI Pattern                 Controller#Action\n+GET     /post/:id/edit(.:format)    posts#edit\n+PUT     /post/:id(.:format)         posts#update\n+```\n \n-Let's use the same debugging technique we did when we built the new form and create action, and it's a good habbit to develop in general when building a form, before implementing the receiving action completely, you should raise params.inspect and make sure the form is submitting to the controller#action you expect and that the form is passing data correctly via params. You should be able to perdict what params looks like from the name attribute of your input fields.\n+With our routes in place, let's add in the controller actions:\n \n-in update lets raise params.inspect, submit, and there it is everything looks good.\n+```ruby\n+def edit\n+end\n \n-What does update need to do in the action?\n+def update\n+end\n+```\n \n-similar to edit, the first step is to simply find the post we're talking about.\n+And then create the edit view template `touch app/views/posts/edit.html.erb`\n \n-once we found it, how can we update that instance?\n+In the future we will call the form partial to integrate the form, but for this lesson let's just copy and paste the form code from the `new` form:\n \n-manually, or let's use .update(:title => params[:post_title]). hm, that mass assignment seems like it could be easier...why can't we just pass params in entirely? what would we need to format params as in order to simply pass it or one of it's keys entirely to update?\n+```ERB\n+<h3>Post Form</h3>\n \n-so we manually assign and save, or use update, and then we can redirect to post show and that's the edit / update flow.\n+<%= form_tag posts_path do %>\n+  <label>Post title:</label><br>\n+  <%= text_field_tag :title %><br>\n \n-another thing we don't like is that form is really dirty. lots of repitition. Is there a better way to build forms and controller actions that process them then doing all this reptitive work when there is clearly a pattern here?\n+  <label>Post Description</label><br>\n+  <%= text_area_tag :description %><br>\n \n-what's the pattern - the post is about fields for the @post object and the udate logic corresponds to the fields in the form.\n+  <%= hidden_field_tag :authenticity_token, form_authenticity_token %>\n+  \n+  <%= submit_tag \"Submit Post\" %>\n+<% end %>\n+```\n \n-Bonus: Are we updating the entire post or only the fields the change?\n+If you open the browser and go to the `edit` page it will now display the form, but you may have noticed a pretty big flaw, it doesn't load the record's data into the form, there are a few tasks that we'll need to do in order to implement this behavior, first let's have our `edit` action store the `post` record in an instance variable:\n \n-in the event you only edit the title, does the post content get updated if we are always assigning all fields? dirty_attributes like content_changed? internalized in the sql for save/update (is that true?)\n+```ruby\n+def edit\n+  @post = Post.find(params[:id])\n+end\n+```\n+\n+Now that the `edit` view template will have access to the `@post` object, we need to refactor the form so that it auto fills the form fields with the data from the `post` record, this is done below:\n+\n+```ERB\n+<% # app/views/posts/edit.html.erb %>\n+\n+...\n+<%= text_field_tag :title, @post.title %><br>\n+...\n+<%= text_area_tag :description, @post.description %><br>\n+...\n+```\n+\n+This will now populate the form, but if you tried to submit the form you may notice that it's redirecting to the show page and not changing the values. We need to first make a change to the form so that it knows what route the data should be passed through as well as what HTTP verb needs to be called, make the following change to the `form_tag` line:\n+\n+```ERB\n+<%= form_tag post_path(@post), method: \"put\" do %>\n+```\n+\n+By explicitly stating the route and method the form will now be routed to the `update` action. Before we try to implement the `update` action, let's first make sure the data is being routed properly. Enter the following code inside of the `update` method:","path":"README.md","position":127,"original_position":127,"commit_id":"984583fef36ba56791faf15f55b3ee812888bf3a","original_commit_id":"984583fef36ba56791faf15f55b3ee812888bf3a","user":{"login":"jmburges","id":58342,"avatar_url":"https://avatars.githubusercontent.com/u/58342?v=3","gravatar_id":"","url":"https://api.github.com/users/jmburges","html_url":"https://github.com/jmburges","followers_url":"https://api.github.com/users/jmburges/followers","following_url":"https://api.github.com/users/jmburges/following{/other_user}","gists_url":"https://api.github.com/users/jmburges/gists{/gist_id}","starred_url":"https://api.github.com/users/jmburges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmburges/subscriptions","organizations_url":"https://api.github.com/users/jmburges/orgs","repos_url":"https://api.github.com/users/jmburges/repos","events_url":"https://api.github.com/users/jmburges/events{/privacy}","received_events_url":"https://api.github.com/users/jmburges/received_events","type":"User","site_admin":false},"body":"Also another option is to just `puts` it and show it shows up in the rails c","created_at":"2015-12-17T01:33:29Z","updated_at":"2015-12-17T01:33:29Z","html_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1#discussion_r47859871","pull_request_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/comments/47859871"},"html":{"href":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1#discussion_r47859871"},"pull_request":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1","id":51676092,"html_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1","diff_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1.diff","patch_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1.patch","issue_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/1","number":1,"state":"open","locked":false,"title":"Wip master","user":{"login":"jordanhudgens","id":4793136,"avatar_url":"https://avatars.githubusercontent.com/u/4793136?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanhudgens","html_url":"https://github.com/jordanhudgens","followers_url":"https://api.github.com/users/jordanhudgens/followers","following_url":"https://api.github.com/users/jordanhudgens/following{/other_user}","gists_url":"https://api.github.com/users/jordanhudgens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanhudgens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanhudgens/subscriptions","organizations_url":"https://api.github.com/users/jordanhudgens/orgs","repos_url":"https://api.github.com/users/jordanhudgens/repos","events_url":"https://api.github.com/users/jordanhudgens/events{/privacy}","received_events_url":"https://api.github.com/users/jordanhudgens/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-24T15:44:18Z","updated_at":"2015-12-17T01:33:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbcedd476023f45edf11e50c79885aa8ee0f5842","assignee":{"login":"jmburges","id":58342,"avatar_url":"https://avatars.githubusercontent.com/u/58342?v=3","gravatar_id":"","url":"https://api.github.com/users/jmburges","html_url":"https://github.com/jmburges","followers_url":"https://api.github.com/users/jmburges/followers","following_url":"https://api.github.com/users/jmburges/following{/other_user}","gists_url":"https://api.github.com/users/jmburges/gists{/gist_id}","starred_url":"https://api.github.com/users/jmburges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmburges/subscriptions","organizations_url":"https://api.github.com/users/jmburges/orgs","repos_url":"https://api.github.com/users/jmburges/repos","events_url":"https://api.github.com/users/jmburges/events{/privacy}","received_events_url":"https://api.github.com/users/jmburges/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1/commits","review_comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1/comments","review_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/1/comments","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/statuses/984583fef36ba56791faf15f55b3ee812888bf3a","head":{"label":"learn-co-curriculum:wip-master","ref":"wip-master","sha":"984583fef36ba56791faf15f55b3ee812888bf3a","user":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":46150313,"name":"rails-edit-update-action-readme","full_name":"learn-co-curriculum/rails-edit-update-action-readme","owner":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme","description":"","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme","forks_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/releases{/id}","created_at":"2015-11-13T22:18:30Z","updated_at":"2015-11-13T22:18:30Z","pushed_at":"2015-12-02T18:46:45Z","git_url":"git://github.com/learn-co-curriculum/rails-edit-update-action-readme.git","ssh_url":"git@github.com:learn-co-curriculum/rails-edit-update-action-readme.git","clone_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme.git","svn_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"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":"learn-co-curriculum:master","ref":"master","sha":"b4145e744381cea81078dacc3c993c57b34507d1","user":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":46150313,"name":"rails-edit-update-action-readme","full_name":"learn-co-curriculum/rails-edit-update-action-readme","owner":{"login":"learn-co-curriculum","id":6208017,"avatar_url":"https://avatars.githubusercontent.com/u/6208017?v=3","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme","description":"","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme","forks_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/releases{/id}","created_at":"2015-11-13T22:18:30Z","updated_at":"2015-11-13T22:18:30Z","pushed_at":"2015-12-02T18:46:45Z","git_url":"git://github.com/learn-co-curriculum/rails-edit-update-action-readme.git","ssh_url":"git@github.com:learn-co-curriculum/rails-edit-update-action-readme.git","clone_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme.git","svn_url":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"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/learn-co-curriculum/rails-edit-update-action-readme/pulls/1"},"html":{"href":"https://github.com/learn-co-curriculum/rails-edit-update-action-readme/pull/1"},"issue":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/1"},"comments":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-edit-update-action-readme/statuses/984583fef36ba56791faf15f55b3ee812888bf3a"}}}}