Join Kevin Skoglund for an in-depth discussion in this video Logging to log files, part of Ruby on Rails 3 Essential Training.
In this movie, we'll take a look at the log files Rails uses.…Learn how to configure them and how to write your own information to them.…Note that the log files I'm referring to here are the Rails application logs,…which are very different from the log files that the web server uses.…Errors that occur before a request gets to your application and errors…regarding startup and communicating with your application will show up in the server logs.…But the web server only knows about the requests that come in and the data…that it sends back.…Everything that happens once it passes off that request to the application…remains a mystery to it, but the Rails log files can provide lots of detail…about what happens as Rails processes the request.…
The kind of information that gets logged can be configured and can be different…for each of your environments.…As we saw in the last movie, by default, development is set to the :debug log_level.…The production environment is going to be set, by default, to the :info log_level.…
- Understanding MVC (Model View Controller ) architecture
- Routing browser requests through the framework
- Responding to requests with dynamic content
- Defining associations and database relationships
- Creating, reading, updating and deleting records
- Working with forms
- Validating form data
- Reviewing built-in security features
- Authenticating users and managing user access
- Debugging and error handling
Skill Level Beginner
1. What Is Ruby on Rails?
2. Installing Ruby on Rails on a Mac
3. Installing Ruby on Rails on a Windows Machine
4. Getting Started
5. Controllers, Views, and Dynamic Content
6. Databases and Migrations
7. Models, ActiveRecord, and ActiveRelation
9. Controllers and CRUD
10. Layouts, Partials, and View Helpers
12. Data Validation
13. User Authentication
14. Improving the Simple CMS
15. Debugging and Error Handling
16. Introducing More Advanced Topics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.