{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/comments/41657814","id":41657814,"diff_hunk":"@@ -0,0 +1,245 @@\n+#Guide to Solving and Reviewing Rails Blogs Nested Forms\n+##Overview\n+This lab will teach you how to implement nested forms. In this example, we will nest tags under posts, so a user can submit a post that has many tags.\n+\n+###Step 1: Set up your app\n+- `bin/rake db:migrate RAILS_ENV=test`\n+- `bundle install`\n+- `rails s` then visit `localhost:3000`\n+- `rake db:seed`\n+\n+At this point we should have a form that will let us create a post, along with tags that we can select. Now we need a way to add a new tag, so let's add that to our form.\n+\n+###Step 2: Use fields_for to accept tags\n+\n+```ruby\n+<div class=\"field\">\n+  <%= f.fields_for(:tags) do |tag_form| %>\n+    <%= tag_form.label :name %>\n+    <%= tag_form.text_field :name %>\n+  <% end %>\n+</div>\n+\n+```\n+####Completed Form\n+\n+```ruby\n+<%= form_for(@post) do |f| %>\n+  <% if @post.errors.any? %>\n+    <div id=\"error_explanation\">\n+      <h2><%= pluralize(@post.errors.count, \"error\") %> prohibited this post from being saved:</h2>\n+      <ul>\n+      <% @post.errors.full_messages.each do |msg| %>\n+        <li><%= msg %></li>\n+      <% end %>\n+      </ul>\n+    </div>\n+  <% end %>\n+\n+  <div class=\"field\">\n+    <%= f.label :name %><br>\n+    <%= f.text_field :name %><br>\n+    <%= f.label :content %><br>\n+    <%= f.text_area :content %><br>\n+    Tags:\n+  </div>\n+\n+  <div class=\"field\">\n+    <%= f.fields_for(:tags) do |tag_form| %>\n+      <%= tag_form.label :name %>\n+      <%= tag_form.text_field :name %>\n+    <% end %>\n+  </div>\n+\n+  <div class=\"field\">\n+    <%= f.collection_check_boxes :tag_ids, Tag.all, :id, :name %><br>\n+  </div>\n+\n+  <div class=\"actions\">\n+    <%= f.submit %>\n+  </div>\n+\n+<% end %>\n+```\n+\n+####Before we go any further, let's break down what is happening above. \n+\n+Our `form_for` accepts `@post` as an argument, which is an instance of our `Post` class. We then pass it to the variable `f` to build our form.\n+\n+Let's take a look at `@post` params in our console and see what is being returned. \n+\n+\n+```ruby\n+#<Post:0x007fb3ad9e4e50> {\n+            :id => 10,\n+          :name => \"Hello World!\",\n+       :content => \"We are learning about fields_for!\",\n+       :user_id => nil,\n+    :created_at => Thu, 09 Jul 2015 16:59:41 UTC +00:00,\n+    :updated_at => Thu, 09 Jul 2015 16:59:41 UTC +00:00\n+}\n+```\n+When we call `<%= f.label :name %>` in our form above, we are accessing the `:name` key in our hash, which is going to return the name of that post, same thing for `:content`, or any other key that is available in our params.\n+\n+###Step 3: Set up your PostsContrller\n+\n+### PostsController\n+\n+```ruby\n+def new\n+  @post = Post.new\n+  @tag = @post.tags.build\n+end\n+```\n+\n+Our controller is going to render our form, but what is this `build` method? Our `build` method was given to use via our model associations, which we will take a look at later. It creates a new object in memory, so that our view can use it to display something. In our case, since we are using `fields_for`, it will display fields for our tags! If you delete `@tag = @post.tags.build` from your controller, your fields would disappear.\n+\n+Ok, so we can build our form dynamically, but how does Rails know where to submit it to? Luckily for us, Rails is really smart. When we passed the `@post` object to `form_for`, it was able to check for an instance of that post in the database. Since it was a new instance, by convention it decided that we are trying to create a new post and should be submitted to `/posts` via a `post` method. Let's take a look at the HTML that was generated for us by `form_for`.\n+\n+####Generated HTML From Ruby\n+\n+```html\n+\n+<form class=\"new_post\" id=\"new_post\" action=\"/posts\" accept-charset=\"UTF-8\" method=\"post\">\n+<input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" />\n+<input type=\"hidden\" name=\"authenticity_token\" value=\"IRnbjg0Lr7XuZmk1wqEewWqPbOvU0j5ymcne3Rq3MV3yHzhC1VbZsySOGggFVgM1zwL6b+E2+nGsnaQCQQfu6g==\" />\n+\n+  <div class=\"field\">\n+    <label for=\"post_name\">Name</label><br>\n+    <input type=\"text\" name=\"post[name]\" id=\"post_name\" /><br>\n+    <label for=\"post_content\">Content</label><br>\n+    <textarea name=\"post[content]\" id=\"post_content\">\n+    </textarea><br>\n+    Tags:\n+  </div>\n+\n+  <div class=\"field\">\n+    <label for=\"post_tags_attributes_0_name\">Name</label>\n+    <input type=\"text\" name=\"post[tags_attributes][0][name]\" id=\"post_tags_attributes_0_name\" />\n+  \n+    <label for=\"post_tags_attributes_1_name\">Name</label>\n+    <input type=\"text\" name=\"post[tags_attributes][1][name]\" id=\"post_tags_attributes_1_name\" />\n+  \n+    <label for=\"post_tags_attributes_2_name\">Name</label>\n+    <input type=\"text\" name=\"post[tags_attributes][2][name]\" id=\"post_tags_attributes_2_name\" />\n+  </div>\n+\n+  <div class=\"actions\">\n+    <input type=\"submit\" name=\"commit\" value=\"Create Post\" />\n+  </div>\n+\n+</form>\n+```\n+\n+In the first section of our form, we can see our form helper generated `post[name]` and `post[content]`. This is great, we have access to our post name and content.\n+\n+#### `fields_for`\n+Let's focus on our tag fields for a second, how did Rails know to create such a nicely nested structure?\n+\n+If we look at our form, we will see `<%= f.fields_for(:tags) do |tag_form| %>`. Our `fields_for` accepts a `:tags` object and by convention introspects into our `Post` model to see if it has a way to accept this new object. It is specifically looking for a macro called `accepts_nested_attributes_for :tags`. If it finds it, it will generate the nicely nested form that we see above.\n+\n+In order to understand `accepts_nested_attributes_for`, we need to take a look at our models associations and the methods that were made available to us.\n+\n+***note that we have added `accepts_nested_attributes_for :tags` to our `Post` model**","path":"TUTORIAL.md","position":143,"original_position":143,"commit_id":"a6dd64a1d30e93ca54f9c385e6592f42dd970cd7","original_commit_id":"a6dd64a1d30e93ca54f9c385e6592f42dd970cd7","user":{"login":"danny-sullivan","id":2847232,"avatar_url":"https://avatars.githubusercontent.com/u/2847232?v=3","gravatar_id":"","url":"https://api.github.com/users/danny-sullivan","html_url":"https://github.com/danny-sullivan","followers_url":"https://api.github.com/users/danny-sullivan/followers","following_url":"https://api.github.com/users/danny-sullivan/following{/other_user}","gists_url":"https://api.github.com/users/danny-sullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/danny-sullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danny-sullivan/subscriptions","organizations_url":"https://api.github.com/users/danny-sullivan/orgs","repos_url":"https://api.github.com/users/danny-sullivan/repos","events_url":"https://api.github.com/users/danny-sullivan/events{/privacy}","received_events_url":"https://api.github.com/users/danny-sullivan/received_events","type":"User","site_admin":false},"body":"Updated.","created_at":"2015-10-09T17:45:53Z","updated_at":"2015-10-09T17:45:53Z","html_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7#discussion_r41657814","pull_request_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/comments/41657814"},"html":{"href":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7#discussion_r41657814"},"pull_request":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7","id":45702556,"html_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7","diff_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7.diff","patch_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7.patch","issue_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/7","number":7,"state":"open","locked":false,"title":"Tutorial","user":{"login":"danny-sullivan","id":2847232,"avatar_url":"https://avatars.githubusercontent.com/u/2847232?v=3","gravatar_id":"","url":"https://api.github.com/users/danny-sullivan","html_url":"https://github.com/danny-sullivan","followers_url":"https://api.github.com/users/danny-sullivan/followers","following_url":"https://api.github.com/users/danny-sullivan/following{/other_user}","gists_url":"https://api.github.com/users/danny-sullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/danny-sullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danny-sullivan/subscriptions","organizations_url":"https://api.github.com/users/danny-sullivan/orgs","repos_url":"https://api.github.com/users/danny-sullivan/repos","events_url":"https://api.github.com/users/danny-sullivan/events{/privacy}","received_events_url":"https://api.github.com/users/danny-sullivan/received_events","type":"User","site_admin":false},"body":"Added tutorial. @jmburges ","created_at":"2015-09-22T18:56:56Z","updated_at":"2015-10-09T17:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94a5f88593ea9b61762ddbdc166147f0df7a4e70","assignee":{"login":"danny-sullivan","id":2847232,"avatar_url":"https://avatars.githubusercontent.com/u/2847232?v=3","gravatar_id":"","url":"https://api.github.com/users/danny-sullivan","html_url":"https://github.com/danny-sullivan","followers_url":"https://api.github.com/users/danny-sullivan/followers","following_url":"https://api.github.com/users/danny-sullivan/following{/other_user}","gists_url":"https://api.github.com/users/danny-sullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/danny-sullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danny-sullivan/subscriptions","organizations_url":"https://api.github.com/users/danny-sullivan/orgs","repos_url":"https://api.github.com/users/danny-sullivan/repos","events_url":"https://api.github.com/users/danny-sullivan/events{/privacy}","received_events_url":"https://api.github.com/users/danny-sullivan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7/commits","review_comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7/comments","review_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/7/comments","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/statuses/a6dd64a1d30e93ca54f9c385e6592f42dd970cd7","head":{"label":"learn-co-curriculum:tutorial","ref":"tutorial","sha":"a6dd64a1d30e93ca54f9c385e6592f42dd970cd7","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":19823170,"name":"rails-blog-nested-forms","full_name":"learn-co-curriculum/rails-blog-nested-forms","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-blog-nested-forms","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms","forks_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/releases{/id}","created_at":"2014-05-15T14:48:36Z","updated_at":"2015-06-22T00:45:14Z","pushed_at":"2015-09-24T21:17:07Z","git_url":"git://github.com/learn-co-curriculum/rails-blog-nested-forms.git","ssh_url":"git@github.com:learn-co-curriculum/rails-blog-nested-forms.git","clone_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms.git","svn_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms","homepage":null,"size":737,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-curriculum:solution","ref":"solution","sha":"2d119edeb5ff5c186d79506c43d2f3b5ded27458","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":19823170,"name":"rails-blog-nested-forms","full_name":"learn-co-curriculum/rails-blog-nested-forms","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-blog-nested-forms","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms","forks_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/releases{/id}","created_at":"2014-05-15T14:48:36Z","updated_at":"2015-06-22T00:45:14Z","pushed_at":"2015-09-24T21:17:07Z","git_url":"git://github.com/learn-co-curriculum/rails-blog-nested-forms.git","ssh_url":"git@github.com:learn-co-curriculum/rails-blog-nested-forms.git","clone_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms.git","svn_url":"https://github.com/learn-co-curriculum/rails-blog-nested-forms","homepage":null,"size":737,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7"},"html":{"href":"https://github.com/learn-co-curriculum/rails-blog-nested-forms/pull/7"},"issue":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/7"},"comments":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-curriculum/rails-blog-nested-forms/statuses/a6dd64a1d30e93ca54f9c385e6592f42dd970cd7"}}}}