Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make generated Metal bits a pure rack endpoint application (not middleware) | Joshua Peek | 2008-12-17 | 3 | -19/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end | ||||
* | Introduce Rails Metal | Joshua Peek | 2008-12-16 | 6 | -0/+60 |
| | | | | | | | | | | | | | | | | | | | # 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` | ||||
* | normalize author names in changelogs [#1495 state:committed] | Xavier Noria | 2008-12-16 | 1 | -195/+195 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Switch to Rack based session stores. | Joshua Peek | 2008-12-15 | 3 | -11/+4 |
| | |||||
* | Added gem backtrace pretty priting (Juan Lupión) [#1497 state:committed] | David Heinemeier Hansson | 2008-12-15 | 1 | -0/+3 |
| | |||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 1 | -1/+3 |
| | |||||
* | How'd that sneak in there? | Jeremy Kemper | 2008-12-09 | 1 | -1/+0 |
| | |||||
* | Use full path to environment | Jeremy Kemper | 2008-12-08 | 1 | -1/+1 |
| | |||||
* | Fix message when running TemplateRunner#git. [#1526 state:resolved] | Sergio Gil | 2008-12-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add a rake task to apply a template to an existing application. | Pratik Naik | 2008-12-07 | 4 | -3/+11 |
| | | | | Example : rake rails:template LOCATION=~/template.rb | ||||
* | Remove unused TemplateRunner attributes | Pratik Naik | 2008-12-07 | 1 | -1/+1 |
| | |||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 58 | -1214/+5052 |
| | |||||
* | Added support for plugins to be installed as submodules with the application ↵ | Peter Cooper | 2008-12-06 | 1 | -1/+7 |
| | | | | | | templater. [#1517 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Silence server backtrace in rescue templates and log files. Also remove some ↵ | Joshua Peek | 2008-12-05 | 1 | -2/+4 |
| | | | | noise from missing template errors. | ||||
* | Remove config dir from the load path | Jeremy Kemper | 2008-12-03 | 1 | -2/+1 |
| | |||||
* | Add :env and :sudo options to TemplateRunner#rake. | Pratik Naik | 2008-12-04 | 1 | -3/+6 |
| | | | | | | | Examples : rake("gems:install", :sudo => true) rake("db:migrate", :env => "production") | ||||
* | Make TemplateRunner#generate accept any number of arguments | Pratik Naik | 2008-12-03 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-12-03 | 39 | -747/+855 |
|\ | |||||
| * | Remove docs for TemplateRunner#gem as the behaviour has been changed | Pratik Naik | 2008-12-02 | 1 | -13/+0 |
| | | |||||
| * | Add "-m/--template" option to Rails generator to apply template to generated ↵ | Jeremy McAnally | 2008-12-02 | 9 | -0/+467 |
| | | | | | | | | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Github comments are an excellent way to perform community code review -- ↵ | David Heinemeier Hansson | 2008-12-01 | 1 | -2/+2 |
| | | | | | | | | keep it up! | ||||
| * | establish mysql connection before dropping database | Aliaksey Kandratsenka | 2008-12-01 | 1 | -0/+1 |
| | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#63 state:committed] | ||||
| * | Manually load the DB config rather than firing the whole initializer [Gerrit ↵ | Michael Koziarski | 2008-12-01 | 2 | -4/+15 |
| | | | | | | | | Kaiser] | ||||
| * | Add internal middleware stack to Dispatcher | Joshua Peek | 2008-12-01 | 2 | -0/+12 |
| | | | | | | | | config.middleware.use Rack::Cache | ||||
| * | handle missing dependecies in gem loading | Matt Jones | 2008-12-01 | 6 | -0/+95 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| * | opps, inner_app is in the wrong conditional | Joshua Peek | 2008-12-01 | 1 | -1/+1 |
| | | |||||
| * | Generate rackup dispatcher with rails:update:generate_dispatchers | Joshua Peek | 2008-12-01 | 5 | -26/+20 |
| | | |||||
| * | fix failing railties test | Joshua Peek | 2008-12-01 | 1 | -2/+2 |
| | | |||||
| * | Switch FCGI handler over to Rack | Joshua Peek | 2008-12-01 | 1 | -1/+1 |
| | | |||||
| * | Extracted the process scripts (inspector, reaper, spawner) into the plugin ↵ | David Heinemeier Hansson | 2008-11-30 | 10 | -510/+5 |
| | | | | | | | | irs_process_scripts [DHH] | ||||
| * | Changed Rails.root to return a Pathname object (allows for ↵ | David Heinemeier Hansson | 2008-11-30 | 3 | -5/+5 |
| | | | | | | | | Rails.root.join("app", "controllers") => "#{RAILS_ROOT}/app/controllers") [#1482] | ||||
| * | Add restart notice where missing | David Heinemeier Hansson | 2008-11-30 | 2 | -0/+4 |
| | | |||||
| * | Even more polish of the default configration files and split off the session ↵ | David Heinemeier Hansson | 2008-11-30 | 3 | -29/+26 |
| | | | | | | | | store configuration into its own file | ||||
| * | Cleanup the app generator | David Heinemeier Hansson | 2008-11-30 | 1 | -142/+196 |
| | | |||||
| * | Say it briefly | David Heinemeier Hansson | 2008-11-30 | 1 | -6/+2 |
| | | |||||
| * | More organization based on priority | David Heinemeier Hansson | 2008-11-30 | 2 | -16/+15 |
| | | |||||
| * | Me loves me some whitespace | David Heinemeier Hansson | 2008-11-30 | 1 | -1/+6 |
| | | |||||
| * | Cleanup other examples and wording | David Heinemeier Hansson | 2008-11-30 | 1 | -9/+5 |
| | | |||||
| * | Rails::Configuration never had more details. Stop lying about it | David Heinemeier Hansson | 2008-11-30 | 1 | -1/+0 |
| | | |||||
| * | Its no longer common to run Rails in environments where you cant set the ↵ | David Heinemeier Hansson | 2008-11-30 | 1 | -4/+0 |
| | | | | | | | | environment to be the production one. Dont need a notice telling about the ENV var that prominently any more | ||||
* | | Require rack/utils explicitly | Jeremy Kemper | 2008-12-03 | 1 | -0/+2 |
|/ | |||||
* | Load app initializers by path relative to Rails.root | Jeremy Kemper | 2008-11-29 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | Joshua Peek | 2008-11-29 | 4 | -8/+16 |
|\ | |||||
| * | Enhanced Rails.root to take parameters that'll be join with the root, like ↵ | David Heinemeier Hansson | 2008-11-29 | 3 | -6/+14 |
| | | | | | | | | Rails.root('app', 'controllers') => File.join(Rails.root, 'app', 'controllers') [#1482 state:committed] (Damian Janowski) | ||||
| * | Include Rack in the server noise | David Heinemeier Hansson | 2008-11-29 | 1 | -2/+2 |
| | | |||||
| * | Revert "Super lazy load view paths in development mode (no indexing or ↵ | David Heinemeier Hansson | 2008-11-29 | 1 | -4/+3 |
| | | | | | | | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db. | ||||
* | | Reinstate "Super lazy load view paths in development mode (no indexing or ↵ | Joshua Peek | 2008-11-28 | 1 | -3/+4 |
| | | | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading." | ||||
* | | Revert "Super lazy load view paths in development mode (no indexing or ↵ | David Heinemeier Hansson | 2008-11-27 | 1 | -4/+3 |
|/ | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db. | ||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-11-27 | 1 | -3/+4 |
|\ | |||||
| * | Super lazy load view paths in development mode (no indexing or caching at ↵ | Joshua Peek | 2008-11-26 | 1 | -3/+4 |
| | | | | | | | | all). Switch layout finders to use view path api to take advantage of cache. |