Categories
- Active Record
- Active Resource
- Active Support
- Administration
- Ajax
- APIs
- Authentication
- Authorization
- Background Jobs
- Caching
- Code Walkthrough
- Controllers
- Debugging
- Deployment
- eCommerce
- Forms
- Mailing
- Models
- Performance
- Plugins
- Production
- Rack
- Rails 2.0
- Rails 2.1
- Rails 2.2
- Rails 2.3
- Rails 3.0
- Rails 3.1
- Rails 3.2
- Rails 4.0
- Refactoring
- Routing
- Search
- Security
- Testing
- Tools
- Views
Debugging Ruby (revised)
This episode will show you how to debug a rails app using the "debugger" gem: set a breakpoint, inspect variables and change the executed code at runtime.
(7 minutes)
Better Errors & RailsPanel
Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests.
(8 minutes)
Debugging with ruby-debug
This episode will show you how to debug a rails app using ruby-debug: set a breakpoint, inspect variables, change the code and more.
(8 minutes)
Pry with Rails
Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging.
(8 minutes)
Debugging RJS
RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode.
(7 minutes)
Request Profiling
You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details.
(10 minutes)
Logging Variables
Have you ever wanted to easily log all variables? Now you can by using some advanced Ruby concepts as shown in this episode.
(6 minutes)
The Logger
Learn all about the logger in this episode. See how to send messages to the log and how to customize it.
(9 minutes)