Rake

…At the end of the last movie we typed our first rake command.…In this movie, we'll learn more about rake and what it can do for us.…Rake is a simple ruby helper program.…It helps us to perform tasks by running scripts.…If you worked with Unix before, that's where rake get's it's name.…It's a ruby implementation of make.…A typical rake command works like the one we used in the last movie.…Rake and then a space, followed by whatever task we'd like it to perform.…In this case, the task is db:schema:dump.…

So, it's going to ask rake to dump our database schema.…A key part of the way that rake works is by…using the rake file, which is inside the root of our application.…If you open that file, you'll see that it contains Ruby code to load up the…basics of our application and then they'll load…up the rake tasks that are built into Rails.…As the comment at the top of the file notes, we can also write our own…tasks and if we did, those would go inside the lib tasks folder, which is here.…We can see which tasks are available, both the Rails…

Resume Transcript Auto-Scroll

Author

Released

12/18/2013

Join Kevin Skoglund as he shows how to create full-featured, object-oriented web applications with the latest version of the popular, open-source Ruby on Rails framework. This course explores each part of the framework, best practices, and real-world development techniques. Plus, get hands-on experience by building a complete content management system with dynamic, database-driven content. Kevin teaches how to design an application; route browser requests to return dynamic page content; structure and interact with databases using object-oriented programming; create, update, and delete records; and implement user authentication. Previous experience with Ruby is recommended, but not required.