1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Ruby on Rails
Find a file
Joshua Peek 8c3a543664 Introduce Rails Metal
# app/metal/poller.rb
  class Poller < Rails::Rack::Metal
    def call(env)
      if env["PATH_INFO"] =~ /^\/poller/
        [200, {"Content-Type" => "application/json"}, Message.recent.to_json]
      else
        super
      end
    end
  end

* There is a generator to help you get started
    `script/generate metal poller`

* Also, metal bits can be ran standalone with rackup
    `rackup app/metal/poller.rb`
2008-12-16 13:15:06 -06:00
actionmailer normalize author names in changelogs [#1495 state:committed] 2008-12-16 14:33:32 +01:00
actionpack normalize author names in changelogs [#1495 state:committed] 2008-12-16 14:33:32 +01:00
activemodel Merge with docrails 2008-12-07 03:27:53 +01:00
activerecord Update documentation for default_scope 2008-12-16 14:34:02 +01:00
activeresource normalize author names in changelogs [#1495 state:committed] 2008-12-16 14:33:32 +01:00
activesupport normalize author names in changelogs [#1495 state:committed] 2008-12-16 14:33:32 +01:00
ci Spam more people, the list is next 2008-11-18 20:52:07 +01:00
doc/template Horo rdoc template 2008-06-22 10:38:25 -07:00
railties Introduce Rails Metal 2008-12-16 13:15:06 -06:00
.gitignore Merge with docrails. Also add a rake task to generate guides in your rails application : 2008-10-21 18:33:40 +01:00
pushgems.rb No more svn version numbers to rely on, use timestamps instead 2008-05-11 18:21:47 -05:00
Rakefile Horo rdoc template 2008-06-22 10:38:25 -07:00
release.rb Use copy instead of export for release 2008-09-05 14:22:56 +02:00