851. Advanced Ruby on Rails
Advanced Ruby on Rails is a course for people who have some Ruby and Rails experience
and want to go to the next level.
Advanced Ruby on Rails has been developed to help you understand why things work the way they do, along with
helping you develop specific skills and techniques. You won't just be repeating steps mechanically; you'll
understand Rails and understand how to keep advancing!
Prerequisites:
Students should have some Ruby and Rails experience.
1.
Routing and REST
URL recognition
URL generation
Custom routes
Named routes
REST fundamentals
HTTP request methods and Rails requests
_url and _path named routes
Nested and polymorphic resources
2.
Ruby modules, classes, and methods
Method lookup
Modules and classes
Singleton methods
3.
Ruby variables in detail
Local, instance, class, global
4.
Ruby built-in classes
Regexp, Range, File, Struct, and others
5.
Ruby blocks, Procs, and methods
6.
ActiveRecord optimizations
Eager loading
select and other limiters
Raw SQL
Collection proxies and laziness
Scoping
7.
ActiveRecord assignments
Using plain attributes
Overriding setter methods
White/black-listing columns for assignment
8.
Advanced associations
what you get for free
non-default naming
polymorphic
embellishing with methods
9.
Deployment
subversion
capistrano
Vlad the Deployer
mongrel and mongrel clusters
Proxying from Apache and nginx
Issues in deployment
10.
Testing
Unit/functional/integration
Acceptance testing with Selenium
Continuous feedback with autotest
11.
Single-table inheritance
12.
Caching
Page, action, and fragment caching
13.
Plugins and add-ons
Plugin architecture
Writing plugins
Survey of useful plugins
14.
Writing and using ad hoc library code
15.
Exploring the Rails source code
Modifying and hooking into source code
alias_method_chain, field_error_proc, and other hooks