Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Here's what we're going to be covering in this course.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hi, I'm Jay and I'm here to help you solve
problems with your Rails applications.
0:04
Even for
experienced developers a new framework or
0:09
language can seem like a wilderness.
0:11
An unfamiliar landscape where
mistakes can lead to real trouble.
0:13
The same is true for Rails apps.
0:17
You make some changes in your editor and
0:19
go back to your app to test them out, only
to find that it's completely unresponsive.
0:20
Every time you go to load a page,
errors are showing up in the log, or
0:25
maybe the server won't start at all.
0:28
It happens to all of us.
0:30
But situations like this
don't have to be frustrating.
0:31
They're much easier to handle if you know
how to figure out what the problem is and
0:34
where to find the cause.
0:38
And though Rails error messages can seem
a little scary if you haven't encountered
0:39
them before they're often quite helpful
once you know how to read them.
0:43
This workshop will be
in six major sections.
0:46
We'll start by showing you how to
read an exception message from Rails.
0:49
Exceptions contain a lot
of information but
0:52
if you know the right places to look
they can help you find problems quickly.
0:55
Then we'll show you the components Rails
uses to respond to browser requests, and
0:59
show you how to add
anything that's missing.
1:03
We'll talk about finding and
1:05
fixing general mistakes in your
code such as syntax errors.
1:06
We'll look at potential
issues with your views
1:09
which can affect the appearance
of the browser page.
1:12
We'll discuss how to fix problems
loading data in from your database, and
1:14
we'll wrap up with some general tips
that can help you find the causes of
1:18
problems more quickly when they happen.
1:21
We won't show you how to solve every
possible problem in this workshop.
1:24
We couldn't do that if we spent ten hours.
1:27
Instead, we're going to show you some
general skills that will help you
1:29
find the solutions to
problems on your own.
1:32
Let's get started.
1:35
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up