Showing posts with label Ruby on Rails. Show all posts
Showing posts with label Ruby on Rails. Show all posts

Thursday, 2 April 2009

Setting Up Ruby on Rails 1.x for Windows


In this title, SitePoint's technical director, Kevin Yank, guides viewers through the intricacies of setting up a Ruby on Rails development environment on Windows. Kevin starts with the background of this powerful new platform for building web applications, then demonstrates how to set up a simple test application to help users avoid pitfalls.

Table of contents

Setting Up Ruby on Rails 1.x for Windows
  • Setting Up Ruby on Rails 1.x for Windows

Ruby on Rails Beyond the Basics


In this sequel to the popular Ruby on Rails Essential Training, expert instructor Kevin Skoglund teaches comprehensive techniques for web developers who already feel comfortable with the fundamentals of Ruby and the Rails MVC framework. This training will help developers move toward creating full-featured Ruby on Rails applications. Kevin begins by explaining how to update software and projects to the latest versions. He then demonstrates alternative ways to interact with Ruby and your Rails applications and teaches the intermediate aspects of the Ruby language. Kevin provides step-by-step instructions for creating a custom blog and content management application. He uses this practical example to show how to work with database migrations, how to get more from ActiveRecord and avoid common pitfalls, how to create flexible controllers and views, and how to improve performance, security, and code management. Exercise files accompany the tutorials.

Table of contents

Introduction
  • Introduction 2:00 1.4 MB
  • Using the exercise files 2:34 2.5 MB
1. Maintaining Ruby and Rails
  • Updating Ruby 9:24 16.9 MB
  • Updating Rails and Gems 7:44 10.8 MB
  • Updating previous Rails projects 6:47 11.5 MB
  • Freezing Rails to a version 3:51 6.8 MB
  • Offline Ruby documentation 5:32 7.9 MB
  • Offline Rails documentation 6:10 9.7 MB
  • Installing Subversion and Edge Rails 7:05 14.0 MB
2. Working Directly with Ruby and Rails
  • Ruby from the command line 3:53 2.2 MB
  • Interactive Ruby (IRB) 3:55 2.7 MB
  • Getting more out of IRB 8:18 9.8 MB
  • Rails console script 4:56 7.9 MB
  • Rails runner script 3:58 3.0 MB
3. Intermediate Ruby
  • Arrays 9:56 5.4 MB
  • Hashes 7:14 4.7 MB
  • Code blocks: Each 11:59 6.6 MB
  • Code blocks: Find 7:58 5.1 MB
  • Code blocks: Merge 4:21 3.7 MB
  • Code blocks: Collect 8:19 6.1 MB
  • Code blocks: Inject 8:20 5.2 MB
  • Code blocks: Sort 8:07 5.8 MB
  • Custom code blocks 6:01 3.9 MB
  • Classes 13:29 11.9 MB
  • Methods 6:57 3.5 MB
  • Modules 10:58 8.3 MB
  • Control flow 5:36 2.5 MB
  • Catching errors and raising exceptions 11:42 9.9 MB
4. Describing Your Project
  • Project description overview 2:50 1.8 MB
  • Blueprinting the presentation layer 3:10 2.5 MB
  • Blueprinting the database 5:10 2.3 MB
  • Previewing the finished blog 3:26 6.7 MB
  • Creating the project files 1:37 2.0 MB
5. Databases and Migrations
  • Why use migrations? 3:31 2.5 MB
  • Creating a database and granting privileges 6:07 9.3 MB
  • Creating a migration with a model 6:00 6.5 MB
  • Customizing a migration 8:02 9.4 MB
  • Generating a migration 3:42 5.5 MB
  • Writing the AlterPosts migration 9:16 11.4 MB
  • Migrating a join table 3:49 5.7 MB
  • Migrating a simple join to a rich join 5:53 8.2 MB
  • Accessing models within migrations 2:43 5.7 MB
  • Migrating from legacy databases 7:40 15.6 MB
6. Configuration Options in Rails
  • Loading in other files 8:13 8.1 MB
  • Logging 4:34 8.0 MB
  • Session configuration options 5:38 7.9 MB
  • Session storage options 9:06 10.3 MB
7. Getting More from ActiveRecord Models
  • Setting the table name 3:42 3.6 MB
  • Specifying the class name and foreign key 4:34 8.0 MB
  • Handling dependent related records 4:37 5.7 MB
  • Creating custom relationships 2:35 3.0 MB
  • Using has_many :through 4:55 5.1 MB
  • One-to-one relationships using has_one 3:54 1.6 MB
  • When does ActiveRecord save to the database? 7:23 8.4 MB
  • Examining the difference between length and size 6:00 10.5 MB
  • Adding a counter cache 9:50 11.7 MB
  • Save before making many-to-many joins 3:01 3.7 MB
8. Creating the Post CRUD
  • Generating controllers with actions 3:45 4.7 MB
  • Adding layouts and style sheets 7:35 8.5 MB
  • Creating the list of posts 8:57 16.9 MB
  • Creating the form for posts 4:04 5.4 MB
  • Adding authors to the Post form 3:53 8.2 MB
  • Saving author information with the post 5:36 6.6 MB
  • Adding category checkboxes to the form 11:51 20.6 MB
9. Creating the Category CRUD
  • Merging the List, Show, and New actions 4:15 9.0 MB
  • Merging the Edit action 2:23 5.3 MB
  • Giving the Category form two actions 3:18 6.1 MB
10. Creating the User CRUD
  • Creating a list of users 3:30 6.4 MB
  • Choosing between two forms 5:02 10.4 MB
  • Merging New and Edit into Manage 2:48 4.6 MB
  • Merging Create and Update into Manage 5:26 6.9 MB
  • Merging Destroy into Manage 4:44 9.5 MB
11. Creating the Comment CRUD
  • Creating the list of comments 6:47 9.9 MB
  • Moderating comments 6:34 8.8 MB
  • Filtering the comments being viewed 4:00 7.9 MB
  • Conditional links 2:56 4.1 MB
12. Improving Access Control
  • Login Action and View 5:38 6.6 MB
  • Protected and accessible attributes 5:44 4.4 MB
  • Using callbacks 7:45 9.8 MB
  • Improving security by salting passwords 3:36 4.6 MB
  • Storing unique salt strings 9:29 10.2 MB
  • Hashing old passwords using migrations 5:19 7.5 MB
  • Authorizing access with a Before filter 5:11 7.4 MB
13. Creating the Public Site
  • Creating the public list of posts 8:22 9.6 MB
  • Utilizing view helpers 7:39 11.8 MB
  • Writing custom helpers 7:52 11.9 MB
  • Using partials with collections 5:50 7.3 MB
  • Sharing partials 3:58 5.1 MB
  • Passing local variables to partials 7:59 13.2 MB
  • Displaying only approved comments 2:52 4.9 MB
  • Adding and testing the Comment form 4:54 8.1 MB
  • Adding the comment count as a link 3:53 7.1 MB
  • Eager loading with Include 8:06 20.1 MB
14. Validations
  • Basic validations 6:36 10.9 MB
  • Custom validations 4:12 7.8 MB
  • Validation callbacks 4:31 7.9 MB
15. Creating the Category and Archive Views
  • Creating a list of category links 4:28 8.8 MB
  • Viewing posts by category 5:22 9.2 MB
  • Creating a list of archive links 5:16 8.5 MB
  • Viewing posts by month 4:11 7.3 MB
16. Routes
  • Overview of Rails routing 4:34 3.5 MB
  • Understanding the initial routes 5:45 7.7 MB
  • Defining a route alias 4:11 6.2 MB
  • Setting default values 3:30 7.0 MB
  • Putting parameters in custom routes 4:59 6.0 MB
  • Filtering routes with requirements 5:53 7.5 MB
  • Named routes 5:03 10.1 MB
  • Viewing route definitions 3:05 5.3 MB
17. Pagination
  • Pagination overview 2:12 1.4 MB
  • Classic pagination 3:50 5.9 MB
  • Custom pagination 4:08 6.2 MB
  • Plug-in pagination 3:34 5.1 MB
  • The will_paginate plug-in 4:39 8.0 MB
18. Final Steps
  • Finishing the project 3:05 3.5 MB
  • Generating application documentation 3:48 7.1 MB
  • Reviewing application statistics 1:36 1.2 MB
Conclusion
  • Goodbye 0:29 0.5 MB
Appendix A - Installing Ruby on Rails
  • Installation overview 7:31 8.7 MB
  • Installing Ruby and RubyGems 20:05 40.7 MB
  • Installing Rails 3:26 4.9 MB
  • Installing MySQL 10:13 17.3 MB
  • Installing TextMate 4:42 7.4 MB
  • Installing a webserver

Ruby on Rails Essential Training


Ruby on Rails aims to make building web applications simpler. In Ruby on Rails Essential Training, expert instructor Kevin Skoglund focuses on the same goal. Kevin explains the complete process--from understanding the fundamental concepts behind any Ruby on Rails project to creating full-featured, easy-to-maintain applications using the Ruby on Rails framework. Using the practical project of building an online store as an example, Skoglund teaches the basics of the Ruby language. He also covers how to design an application, how to build dynamic interfaces, how to structure and interact with databases, how to create a working shopping cart, and how to regulate user access with passwords. We thank our colleagues at The Pragmatic Programmers, L.L.C., for permission to adapt certain code from their book Agile Web Development with Rails for use in this tutorial. Exercise files accompany the tutorials.

Table of contents

Introduction
  • Introduction 3:21 4.4 MB
  • How to use the exercise files 2:01 2.6 MB
1. What Is Ruby on Rails?
  • What is Ruby on Rails? 2:18 1.8 MB
  • What is Rails? 2:44 2.0 MB
  • DRY, conventions, and sensible defaults 3:34 2.4 MB
  • MVC architecture 4:43 3.3 MB
2. Installing Ruby on Rails
  • Installation overview 7:03 8.7 MB
  • Installing Ruby and RubyGems 20:05 40.7 MB
  • Installing Rails 3:26 4.9 MB
  • Installing MySQL 10:13 17.3 MB
  • TextMate 4:42 7.4 MB
  • Webserver 2:14 4.1 MB
3. Getting Started
  • Creating a work folder and a Rails project 6:50 9.5 MB
  • Creating a controller and an action 8:22 11.5 MB
  • Creating a view 5:35 6.3 MB
4. How the Rails Framework Works
  • Understanding the operation trail 4:22 4.0 MB
  • Getting familiar with the file structure 5:12 7.2 MB
  • How server requests are handled 10:02 16.8 MB
5. Setting Up a Database
  • A quick dip in the database pool 2:24 1.6 MB
  • Creating a database and a database table 9:21 13.3 MB
  • Configuring a Rails application to connect 7:27 11.9 MB
  • Scaffold: Magic CRUD 9:22 11.4 MB
6. Controllers, Views, and Dynamic Content
  • RHTML: Adding dynamic content to the view 8:59 10.5 MB
  • Variables in Ruby 7:08 6.8 MB
  • Getting the controller to interact with the view 4:40 6.9 MB
  • Calling controller actions from other actions 6:27 6.8 MB
  • Linking to other actions from the view 8:41 9.2 MB
  • Rendering an action 11:51 13.3 MB
  • Redirecting an action 7:52 7.9 MB
  • Public vs. private actions 7:15 8.5 MB
7. Essential Ruby
  • Review and introduction 2:30 2.9 MB
  • String basics 11:16 12.9 MB
  • Double-quoted strings 5:45 8.5 MB
  • Numbers 11:26 13.1 MB
  • Introduction to arrays 7:11 7.0 MB
  • Manipulating arrays 9:29 11.8 MB
  • Ranges 4:47 5.4 MB
  • Hashes 11:53 12.7 MB
  • Control flow: Logical expressions 10:08 10.7 MB
  • Control flow: Loops and blocks 5:18 5.6 MB
  • Control flow: Iterators 8:37 10.0 MB
8. Troubleshooting
  • Commenting your code 4:22 5.9 MB
  • Errors and logs 6:38 13.3 MB
  • Seeing what went wrong 6:42 8.1 MB
  • Breaking problems into pieces 1:28 1.0 MB
9. Models
  • Creating a model 3:46 4.6 MB
  • Accessing your model 5:52 6.2 MB
  • Adding model attributes 6:28 8.3 MB
  • Understanding instances 8:04 7.9 MB
  • Manipulating instances 5:53 5.9 MB
  • Setting default values with Initialize 3:42 4.4 MB
  • Creating inheritance 6:20 7.4 MB
  • Using inheritance 6:54 8.3 MB
  • Basic model interaction 8:27 9.4 MB
  • Advanced model interaction 11:26 13.8 MB
  • Judicious model use 2:27 1.6 MB
10. Working with Databases
  • Setting up for this chapter 1:30 2.7 MB
  • Switching back to our database 3:56 5.5 MB
  • Basic SQL syntax 4:20 3.1 MB
  • Using SQL syntax 5:31 8.5 MB
  • Finding records in Rails 8:27 10.4 MB
  • Using conditions to find specific records 7:37 7.8 MB
  • Ordering found records 2:19 3.0 MB
  • Limiting found records 2:46 3.6 MB
  • Finding a single record 7:48 10.8 MB
  • Using parameters to find records 5:10 6.7 MB
  • Creating and saving records 5:29 7.6 MB
  • Submitting forms to the database 11:17 16.8 MB
  • Updating records 6:05 8.9 MB
  • Deleting records 3:46 4.7 MB
  • Validating database data 8:21 10.3 MB
11. Building an Application, Pt. 1: Working with Multiple Databases
  • Blueprinting your application 6:44 4.8 MB
  • Preparing databases 7:34 9.0 MB
  • Relating databases: One-to-many 4:07 3.2 MB
  • Creating a relationship 9:10 14.2 MB
  • Generating your own scaffold 2:58 5.0 MB
  • The Flash hash 4:30 6.4 MB
  • Partials 2:26 4.3 MB
  • CRUD and relational databases 12:43 19.0 MB
  • Relating databases: Many-to-many (simple) 4:26 3.6 MB
  • Creating a simple join table 15:13 22.6 MB
  • Relating databases: Many-to-many (rich) 3:16 2.8 MB
  • Creating a rich join table 3:57 5.7 MB
12. Building an Application, Pt. 2: Creating Interfaces
  • Building the admin area 7:23 8.1 MB
  • Finishing the admin area 5:14 7.9 MB
  • Designing the public area 6:54 10.0 MB
  • Adding images 2:51 4.7 MB
  • Cycle and zebra-striping 2:29 3.6 MB
  • Formatting dates and times 4:26 7.0 MB
  • Helpers: Built-in and custom 4:41 8.7 MB
13. Building an Application, Pt. 3: Adding a Shopping Cart
  • Building a shopping cart 10:03 10.8 MB
  • Cookies and sessions 7:14 9.5 MB
  • Creating a ''before'' filter 2:24 3.2 MB
  • Adding items to the cart 6:06 9.8 MB
  • Emptying the cart 3:41 6.4 MB
14. Building an Application, Pt. 4: Finishing Your Application
  • Layouts 5:10 7.3 MB
  • Sending values to layouts 3:58 5.3 MB
  • Building a checkout form 2:32 2.9 MB
  • Handling payments 6:40 9.9 MB
  • Using stylesheets 4:20 7.3 MB
15. Building an Application, Pt. 5: Regulating User Access
  • Setting up encrypted passwords 6:44 8.6 MB
  • Logging in users 3:30 5.2 MB
  • Regulating user access 6:37 10.9 MB
  • 16. Deploying Your Application
  • Deploying your application 3:17 5.0 MB
Conclusion
  • Goodbye
 

Copyright 2008 All Rights Reserved By Lyndabd.blogspot.com