{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/comments/42640607","id":42640607,"diff_hunk":"@@ -0,0 +1,392 @@\n+# Guide to Solving and Reviewing School Domain Querying\n+\n+##Overview\n+Before you get started, the first thing you should do is read through the README. The README tells you that there is a `lib/student.rb` file that is built out and to use it as a guide. Open `lib/student.rb` and read through it, as well as the specs, to get a high level overview of what your end goal is. Our goal for this lab is to create an ORM - an Object Relational Mapper. This means we'll be creating a Ruby interface for our database, wrapping SQL statements in methods that perform basic CRUD operations. Now that you have a sense of direction, go ahead and  run the test suite by typing `rspec` into the terminal. As expected, the student class completely passes since it was already created for you. \n+\n+The first failing test is in our Course class, `undefined method create_table for Course:Class.` \n+\n+If you take a look at `lib/student.rb`, you will see there is a `create_table` method already written. The process for creating a new table will be similar for all of the classes you build, minus a few key details. For exampe, the `SQL` statement for our student class reads `CREATE TABLE IF NOT EXISTS students`. To get this to work for our course class, we will have to change it to `CREATE TABLE IF NOT EXISTS courses`. Don't forget to use commas between your `id`, `name` and `department_id` attributes, otherwise it will be invalid code and your tests will not pass. Compare your Student and Course classes, see the difference? The last thing we need to do is add our reader and writer methods, or `attr_accessors` for `:id`, `:name` and `:department_id`. Our \n+\n+***Note: `create_table` and `drop_table` are tested together in the specs, so you will have to build both of them as well as add your `attr_accessors` before your tests pass.***\n+\n+##lib/course.rb\n+\n+```ruby\n+class Course\n+attr_accessor :id, :name, :department_id\n+\n+  def self.create_table\n+    sql = <<-SQL\n+    CREATE TABLE IF NOT EXISTS courses (\n+      id INTEGER PRIMARY KEY,\n+      name TEXT,\n+      department_id INTEGER \n+    )\n+    SQL\n+     \n+    DB[:conn].execute(sql)\n+  end\n+  \n+end\n+\n+```\n+We now have a way to create a table, but what if we want to drop a table? Yep, we need a `drop_table` method to complete the circuit. Take a look at your `lib/student.rb` and you will see a `drop_table` method for students, use that as your guide. This method is pretty clear, if a table exists, drop it when the method is executed. Just like our `create_table` method, we need to prepend `self`, which accesses our Class scope. Since the courses table is responsible for storing all the courses in the Course class, it makes sense for this to be a class method.\n+\n+```ruby\n+def self.drop_table\n+  sql = \"DROP TABLE IF EXISTS courses\"\n+  DB[:conn].execute(sql)\n+end\n+```\n+Run `rspec` and your will see the next error, `undefined method insert`. Again, lets take a look at our `student.rb` file and see if we have reusable code. \n+\n+It looks like we have an `insert` method built for us so lets modify that and use it. Let's also create a helper method called `attribute_values` to keep everything organized. Instead of typing out all of the values in our insert method, we can call the `attribute_values` method instead.\n+\n+```ruby\n+def attribute_values\n+  [name, department_id]\n+end\n+\n+def insert\n+  sql = <<-SQL\n+    INSERT INTO courses\n+    (name, department_id)\n+    VALUES\n+    (?,?)\n+  SQL\n+  DB[:conn].execute(sql, attribute_values)\n+\n+  @id = DB[:conn].execute(\"SELECT last_insert_rowid() FROM courses\")[0][0]\n+end\n+```\n+Now when we run `rspec`, we see `undefined method new_from_db`. This method is going to take the information from the database and create a new instance by utilizing a method called `tap`. The `tap` method \"yields `self` to the block, and then returns `self`. The primary purpose of this method is to “tap into” a method chain, in order to perform operations on intermediate results within the chain.\" In our case we are tapping into Course and creating a new instance while assigning it's attributes to specific rows.\n+\n+```ruby\n+def self.new_from_db(row)\n+  self.new.tap do |s|\n+    s.id = row[0]\n+    s.name =  row[1]\n+    s.department_id = row[2]\n+  end\n+end\n+```\n+\n+Now we can create a Courses table, insert a course and drop a course. Being able to find a course by it's name would also be useful, which is our next error. \n+\n+We need to build a method called `find_by_name`. Again we can use `lib/student.rb` file as an example, replacing the necessary variables. Here we are selecting all from our courses table where the name is equal to the param we are passing in, then limiting it to one.\n+\n+```ruby\n+ def self.find_by_name(name)\n+    sql = <<-SQL\n+      SELECT *\n+      FROM courses\n+      WHERE name = ?\n+      LIMIT 1\n+    SQL\n+    result = DB[:conn].execute(sql,name)\n+    result.map do |row| \n+      self.new_from_db(row)\n+    end.first\n+  end\n+```\n+Let's run `rspec` for our next error, `undefined method find_all_by_department_id`. Here we want to be able to find all courses by their `department_id`. The `SELECT` statement for this reads pretty clearly, `SELECT *` (`*` stands for all) from the courses table, where the `deparment_id` of the course equals the `id` we are passing in to the method, very simlilar to finding by name. Compare this code with your Student class to see the differences.\n+\n+```ruby\n+def self.find_all_by_department_id(id)\n+  sql = \"SELECT * FROM courses WHERE department_id = ?\"\n+  result = DB[:conn].execute(sql,id)\n+  result.collect do |row| \n+    self.new_from_db(row)\n+  end\n+end\n+```\n+Now we can create a Courses table, insert a course into the table, delete the table, find a course by name or department_id. What if we want to change the title of a course? We need a way to update the table.\n+\n+Run `rspec` and you will see `undefined method update`. Let's take a look at our `student.rb` file and see if there is anything to guide us. Looks like there is an `update` method built already, let's deconstruct it.\n+\n+The `update` method will take the values you are changing, find the object by it's id and update the instance. You can see our helper method `attribute_values` being passed in to the `DB[:conn].execute(sql, attribute_values, id)` part of the method.\n+\n+```ruby\n+def update\n+  sql = <<-SQL\n+    UPDATE courses\n+    SET name = ?,department_id = ?\n+    WHERE id = ?\n+  SQL\n+  DB[:conn].execute(sql, attribute_values, id)\n+end\n+```\n+The last piece of this puzzle is the ability to save our changes, which we will write two methods for that work together. ","path":"TUTORIAL.md","position":119,"original_position":119,"commit_id":"0f3473a2cdd97c91869f2c629942e0906a628894","original_commit_id":"0f3473a2cdd97c91869f2c629942e0906a628894","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":"why write two methods? Less logical leaps!","created_at":"2015-10-21T15:39:01Z","updated_at":"2015-10-21T15:39:01Z","html_url":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32#discussion_r42640607","pull_request_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/comments/42640607"},"html":{"href":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32#discussion_r42640607"},"pull_request":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32","id":42850985,"html_url":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32","diff_url":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32.diff","patch_url":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32.patch","issue_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/32","number":32,"state":"closed","locked":false,"title":"Tutorial","user":{"login":"deniznida","id":9004428,"avatar_url":"https://avatars.githubusercontent.com/u/9004428?v=3","gravatar_id":"","url":"https://api.github.com/users/deniznida","html_url":"https://github.com/deniznida","followers_url":"https://api.github.com/users/deniznida/followers","following_url":"https://api.github.com/users/deniznida/following{/other_user}","gists_url":"https://api.github.com/users/deniznida/gists{/gist_id}","starred_url":"https://api.github.com/users/deniznida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniznida/subscriptions","organizations_url":"https://api.github.com/users/deniznida/orgs","repos_url":"https://api.github.com/users/deniznida/repos","events_url":"https://api.github.com/users/deniznida/events{/privacy}","received_events_url":"https://api.github.com/users/deniznida/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-19T18:58:37Z","updated_at":"2015-10-21T15:39:01Z","closed_at":"2015-10-21T15:15:59Z","merged_at":"2015-10-21T15:15:59Z","merge_commit_sha":null,"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/school-domain-querying/pulls/32/commits","review_comments_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32/comments","review_comment_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/32/comments","statuses_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/statuses/0f3473a2cdd97c91869f2c629942e0906a628894","head":{"label":"learn-co-curriculum:tutorial","ref":"tutorial","sha":"0f3473a2cdd97c91869f2c629942e0906a628894","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":16987068,"name":"school-domain-querying","full_name":"learn-co-curriculum/school-domain-querying","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/school-domain-querying","description":"School Domain Querying ","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying","forks_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/releases{/id}","created_at":"2014-02-19T14:37:25Z","updated_at":"2015-06-22T00:47:37Z","pushed_at":"2015-10-21T15:16:14Z","git_url":"git://github.com/learn-co-curriculum/school-domain-querying.git","ssh_url":"git@github.com:learn-co-curriculum/school-domain-querying.git","clone_url":"https://github.com/learn-co-curriculum/school-domain-querying.git","svn_url":"https://github.com/learn-co-curriculum/school-domain-querying","homepage":"flatironschool.com","size":944,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-curriculum:solution","ref":"solution","sha":"fc9d1076958fa1bda0cff8e586812fa804b2215f","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":16987068,"name":"school-domain-querying","full_name":"learn-co-curriculum/school-domain-querying","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/school-domain-querying","description":"School Domain Querying ","fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying","forks_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/releases{/id}","created_at":"2014-02-19T14:37:25Z","updated_at":"2015-06-22T00:47:37Z","pushed_at":"2015-10-21T15:16:14Z","git_url":"git://github.com/learn-co-curriculum/school-domain-querying.git","ssh_url":"git@github.com:learn-co-curriculum/school-domain-querying.git","clone_url":"https://github.com/learn-co-curriculum/school-domain-querying.git","svn_url":"https://github.com/learn-co-curriculum/school-domain-querying","homepage":"flatironschool.com","size":944,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32"},"html":{"href":"https://github.com/learn-co-curriculum/school-domain-querying/pull/32"},"issue":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/32"},"comments":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-curriculum/school-domain-querying/statuses/0f3473a2cdd97c91869f2c629942e0906a628894"}}}}