Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate test_help requires | Jeremy Kemper | 2009-01-06 | 1 | -2/+1 |
| | |||||
* | Move metal above method piggybacking middleware and add some test coverage | Joshua Peek | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | Only silence backtrace from plugin lib dirs | Jeremy Kemper | 2008-12-30 | 1 | -1/+2 |
| | |||||
* | Clean trailing / after rails root from backtraces | Jeremy Kemper | 2008-12-30 | 1 | -1/+1 |
| | |||||
* | Clean up view path cruft and split path implementations into Template::Path ↵ | Joshua Peek | 2008-12-29 | 1 | -3/+4 |
| | | | | and Template::EagerPath | ||||
* | Allow custom rails generators to pass in their own binding to Create command ↵ | Joshua Peek | 2008-12-28 | 1 | -1/+1 |
| | | | | so that the corresponding erb templates get rendered with the proper binding [#1493 state:resolved] | ||||
* | Ensure template runner tests don't depend on hash ordering [#1654 ↵ | Mike Gunderloy | 2008-12-28 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵ | Aaron Quint | 2008-12-28 | 1 | -0/+10 |
| | | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵ | Aaron Quint | 2008-12-27 | 1 | -66/+53 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge commit 'fred/more_pullable' | Pratik Naik | 2008-12-21 | 1 | -1/+1 |
|\ | |||||
| * | Fix script/dbconsole not handling numeric password [#1395 state:resolved] | pfagiani | 2008-12-21 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | | Correct description of tmp:create task [#1607 state:resolved] [Roderick van ↵ | Pratik Naik | 2008-12-21 | 1 | -2/+2 |
|/ | | | | Domburg] | ||||
* | Diverge Metal implementation from Rack::Cascade since we want the last app ↵ | Joshua Peek | 2008-12-19 | 2 | -44/+22 |
| | | | | to return its headers and body if the status is a 404. | ||||
* | Merge docrails | Pratik Naik | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | Cheaper metal cascade | Jeremy Kemper | 2008-12-18 | 2 | -10/+51 |
| | |||||
* | Use LogTailer | Jeremy Kemper | 2008-12-18 | 1 | -1/+1 |
| | |||||
* | Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks. | Jeremy Kemper | 2008-12-18 | 3 | -29/+36 |
| | |||||
* | Cheaper log tail time comparison | Jeremy Kemper | 2008-12-18 | 1 | -3/+3 |
| | |||||
* | Move gaint lock into middleware | Joshua Peek | 2008-12-18 | 1 | -1/+1 |
| | |||||
* | 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` | ||||
* | Switch to Rack based session stores. | Joshua Peek | 2008-12-15 | 2 | -11/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 | 3 | -3/+9 |
| | | | | 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 | 1 | -1/+1 |
| | |||||
* | 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 | 19 | -651/+655 |
|\ | |||||
| * | 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 | 7 | -0/+423 |
| | | | | | | | | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | 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 | 1 | -0/+1 |
| | | | | | | | | 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 | 3 | -9/+13 |
| | | |||||
| * | 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 | 5 | -496/+2 |
| | | | | | | | | irs_process_scripts [DHH] | ||||
| * | Changed Rails.root to return a Pathname object (allows for ↵ | David Heinemeier Hansson | 2008-11-30 | 1 | -2/+2 |
| | | | | | | | | Rails.root.join("app", "controllers") => "#{RAILS_ROOT}/app/controllers") [#1482] | ||||
| * | Cleanup the app generator | David Heinemeier Hansson | 2008-11-30 | 1 | -142/+196 |
| | | |||||
| * | Me loves me some whitespace | David Heinemeier Hansson | 2008-11-30 | 1 | -1/+6 |
| | | |||||
* | | 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 |
| |