This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Building Ruby Familiarity | |
# In this exercise you will take a first look at some common commands in Ruby | |
# The idea here is to build familiary with Ruby syntax | |
# This will likely be the first time you've seen some of these commands | |
# Just type them in and see the displayed output | |
# Steps: | |
# 1. Open up a new terminal window | |
# 2. Launch irb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ,o888888o. 8 8888 88 8 8888 8888888888',8888' | |
# . 8888 `88. 8 8888 88 8 8888 ,8',8888' | |
# ,8 8888 `8b 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8b 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 88 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8. 88 8 8888 88 8 8888 ,8',8888' | |
# 88 8888 `8,8P 8 8888 88 8 8888 ,8',8888' | |
# `8 8888 ;8P ` 8888 ,8P 8 8888 ,8',8888' | |
# ` 8888 ,88'8. 8888 ,d8P 8 8888 ,8',8888' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ --> | |
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ --> | |
<sql> | |
<datatypes db="mysql"> | |
<group label="Numeric" color="rgb(238,238,170)"> | |
<type label="TINYINT" length="0" sql="TINYINT" quote=""/> | |
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/> | |
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/> | |
<type label="INT" length="0" sql="INT" quote=""/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ --> | |
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ --> | |
<sql> | |
<datatypes db="mysql"> | |
<group label="Numeric" color="rgb(238,238,170)"> | |
<type label="TINYINT" length="0" sql="TINYINT" quote=""/> | |
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/> | |
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/> | |
<type label="INT" length="0" sql="INT" quote=""/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ --> | |
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ --> | |
<sql> | |
<datatypes db="mysql"> | |
<group label="Numeric" color="rgb(238,238,170)"> | |
<type label="TINYINT" length="0" sql="TINYINT" quote=""/> | |
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/> | |
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/> | |
<type label="INT" length="0" sql="INT" quote=""/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- SQL XML created by WWW SQL Designer, http://code.google.com/p/wwwsqldesigner/ --> | |
<!-- Active URL: http://ondras.zarovi.cz/sql/demo/ --> | |
<sql> | |
<datatypes db="mysql"> | |
<group label="Numeric" color="rgb(238,238,170)"> | |
<type label="TINYINT" length="0" sql="TINYINT" quote=""/> | |
<type label="SMALLINT" length="0" sql="SMALLINT" quote=""/> | |
<type label="MEDIUMINT" length="0" sql="MEDIUMINT" quote=""/> | |
<type label="INT" length="0" sql="INT" quote=""/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Magic 8-Ball Homework - Monday, Nov. 4th, 2013 | |
This homework is a way to learn more about things we covered today in class. We talked about ActiveRecord relations and join tables. We also talked about CoffeeScript. | |
The objective for this assignment is to create a single page app that uses 3 models, Question, Answer, & AnsweredQuestion. There should be a has_many and has_many:through association between your models. | |
Use a seed file to put answers into your database. Please see seed file below, which has been typed out to spare you the pain of that :) | |
CoffeeScript will be used to implement the application's front-end logic and for making the AJAX post request. |