- Read the ERRORS
- Read the LOGS
- Output related info with
puts
and PRINT - Read the DOCS
- Ask an EXPERT
Follow this process every time!
mcantor@cottlebook ~/src/GA/Students/w05/d04/INSTRUCTOR/tunr_app (w05_d04_nested_routes): pry | |
[1] pry(main)> "What a great day!" | |
"What a great day!" | |
[2] pry(main)> "What a great day!".split("! ) | |
[2] pry(main)* | |
[3] pry(main)> "What a great day!".split("! ") | |
[ | |
[0] "What a great day!" | |
] | |
[4] pry(main)> "What a great day! I ha da great time".split("! ") |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>En Garde</title> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> |
#include "GLUT/glut.h" | |
#include "stdlib.h" | |
#define ESC 27 | |
#define BLACK 0.0f, 0.0f, 0.0f, 0.0f | |
#define GREEN 0.0f, 1.0f, 0.0f | |
#define ORANGE 1.0f, 0.5f, 0.0f | |
#define RED 1.0f, 0.0f, 0.0f | |
#define YELLOW 1.0f, 1.0f, 0.0f |
// | |
// This code was created by Jeff Molofee '99 (ported to Linux/GLUT by Richard Campbell '99) | |
// | |
// If you've found this code useful, please let me know. | |
// | |
// Visit me at www.demonews.com/hosted/nehe | |
// (email Richard Campbell at [email protected]) | |
// | |
#include "GLUT/glut.h" // Header File For The GLUT Library | |
#include "unistd.h" // Header File For sleeping. |
class BeastsController < ApplicationController | |
def index | |
render :json => [ | |
{ | |
name: "Crocotilion", | |
diet: "carnivore" | |
}, | |
{ | |
name: "Shadewink", |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Doctor Smoketop's Brobdingnagian Bestiary</title> | |
<link data-turbolinks-track="true" href="/assets/application.css?body=1" media="all" rel="stylesheet" /> | |
<script data-turbolinks-track="true" src="/assets/jquery.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/jquery_ujs.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/turbolinks.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/beasts.js?body=1"></script> | |
<script data-turbolinks-track="true" src="/assets/application.js?body=1"></script> |
this is ridicalous |
def fake_method(whateveR) | |
puts "lol" | |
end |