aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-03-09 11:45:14 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-03-09 11:45:14 +0000
commit36e9ae260331913a6c70fbbcf57d5e871b47e7e6 (patch)
tree7b844a029db55171c6bc8fe38adcc433a3fdbeda /railties/guides/source
parentfc098e8de93e61ba8d3ac462a43bfc548357765a (diff)
downloadrails-36e9ae260331913a6c70fbbcf57d5e871b47e7e6.tar.gz
rails-36e9ae260331913a6c70fbbcf57d5e871b47e7e6.tar.bz2
rails-36e9ae260331913a6c70fbbcf57d5e871b47e7e6.zip
Add some rack links
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/rails_on_rack.textile15
1 files changed, 15 insertions, 0 deletions
diff --git a/railties/guides/source/rails_on_rack.textile b/railties/guides/source/rails_on_rack.textile
index 232159069e..0f3823e6f0 100644
--- a/railties/guides/source/rails_on_rack.textile
+++ b/railties/guides/source/rails_on_rack.textile
@@ -229,6 +229,8 @@ h3. Rails Metal Applications
Rails Metal applications are minimal Rack applications specially designed for integrating with a typical Rails application. As Rails Metal Applications skip all of the Action Controller stack, serving a request has no overhead from the Rails framework itself. This is especially useful for infrequent cases where the performance of the full stack Rails framework is an issue.
+Ryan Bates' railscast on the "Rails Metal":http://railscasts.com/episodes/150-rails-metal provides a nice walkthrough generating and using Rails Metal.
+
h4. Generating a Metal Application
Rails provides a generator called +metal+ for creating a new Metal application:
@@ -286,6 +288,19 @@ Each string in the array should be the name of your metal class. If you do this
WARNING: Metal applications cannot return the HTTP Status +404+ to a client, as it is used for continuing the Metal chain execution. Please use normal Rails controllers or a custom middleware if returning +404+ is a requirement.
+h3. Resources
+
+h4. Learning Rack
+
+* "Official Rack Website":http://rack.github.com
+* "Introducing Rack":http://chneukirchen.org/blog/archive/2007/02/introducing-rack.html
+* "Ruby on Rack #1 - Hello Rack!":http://m.onkey.org/2008/11/17/ruby-on-rack-1
+* "Ruby on Rack #2 - The Builder":http://m.onkey.org/2008/11/18/ruby-on-rack-2-rack-builder
+
+h4. Understanding Middlewares
+
+* "Railscast on Rack Middlewares":http://railscasts.com/episodes/151-rack-middleware
+
h3. Changelog
"Lighthouse ticket":http://rails.lighthouseapp.com/projects/16213-rails-guides/tickets/58