aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Rails MetalJoshua Peek2008-12-166-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 Peek2008-12-152-11/+3
|
* Added gem backtrace pretty priting (Juan Lupión) [#1497 state:committed]David Heinemeier Hansson2008-12-151-0/+3
|
* Prefer Rails.logger over RAILS_DEFAULT_LOGGERJoshua Peek2008-12-101-1/+3
|
* Use full path to environmentJeremy Kemper2008-12-081-1/+1
|
* Fix message when running TemplateRunner#git. [#1526 state:resolved]Sergio Gil2008-12-081-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add a rake task to apply a template to an existing application.Pratik Naik2008-12-073-3/+9
| | | | Example : rake rails:template LOCATION=~/template.rb
* Remove unused TemplateRunner attributesPratik Naik2008-12-071-1/+1
|
* Merge with docrailsPratik Naik2008-12-071-1/+1
|
* Added support for plugins to be installed as submodules with the application ↵Peter Cooper2008-12-061-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 Peek2008-12-051-2/+4
| | | | noise from missing template errors.
* Remove config dir from the load pathJeremy Kemper2008-12-031-2/+1
|
* Add :env and :sudo options to TemplateRunner#rake.Pratik Naik2008-12-041-3/+6
| | | | | | | Examples : rake("gems:install", :sudo => true) rake("db:migrate", :env => "production")
* Make TemplateRunner#generate accept any number of argumentsPratik Naik2008-12-031-3/+3
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-0319-651/+655
|\
| * Remove docs for TemplateRunner#gem as the behaviour has been changedPratik Naik2008-12-021-13/+0
| |
| * Add "-m/--template" option to Rails generator to apply template to generated ↵Jeremy McAnally2008-12-027-0/+423
| | | | | | | | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * establish mysql connection before dropping databaseAliaksey Kandratsenka2008-12-011-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 Koziarski2008-12-012-4/+15
| | | | | | | | Kaiser]
| * Add internal middleware stack to DispatcherJoshua Peek2008-12-012-0/+12
| | | | | | | | config.middleware.use Rack::Cache
| * handle missing dependecies in gem loadingMatt Jones2008-12-011-0/+1
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * opps, inner_app is in the wrong conditionalJoshua Peek2008-12-011-1/+1
| |
| * Generate rackup dispatcher with rails:update:generate_dispatchersJoshua Peek2008-12-013-9/+13
| |
| * Switch FCGI handler over to RackJoshua Peek2008-12-011-1/+1
| |
| * Extracted the process scripts (inspector, reaper, spawner) into the plugin ↵David Heinemeier Hansson2008-11-305-496/+2
| | | | | | | | irs_process_scripts [DHH]
| * Changed Rails.root to return a Pathname object (allows for ↵David Heinemeier Hansson2008-11-301-2/+2
| | | | | | | | Rails.root.join("app", "controllers") => "#{RAILS_ROOT}/app/controllers") [#1482]
| * Cleanup the app generatorDavid Heinemeier Hansson2008-11-301-142/+196
| |
| * Me loves me some whitespaceDavid Heinemeier Hansson2008-11-301-1/+6
| |
* | Require rack/utils explicitlyJeremy Kemper2008-12-031-0/+2
|/
* Load app initializers by path relative to Rails.rootJeremy Kemper2008-11-291-1/+1
|
* Merge branch 'master' of git@github.com:rails/railsJoshua Peek2008-11-292-8/+4
|\
| * Enhanced Rails.root to take parameters that'll be join with the root, like ↵David Heinemeier Hansson2008-11-291-6/+2
| | | | | | | | Rails.root('app', 'controllers') => File.join(Rails.root, 'app', 'controllers') [#1482 state:committed] (Damian Janowski)
| * Include Rack in the server noiseDavid Heinemeier Hansson2008-11-291-2/+2
| |
| * Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-291-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 Peek2008-11-281-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 Hansson2008-11-271-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/railsDavid Heinemeier Hansson2008-11-271-3/+4
|\
| * Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-261-3/+4
| | | | | | | | all). Switch layout finders to use view path api to take advantage of cache.
* | Added view path support for engines [DHH]David Heinemeier Hansson2008-11-273-21/+32
|/
* Let all plugins not just engines have a config/routes.rb fileDavid Heinemeier Hansson2008-11-261-1/+2
|
* Added that config/routes.rb files in engine plugins are automatically loaded ↵David Heinemeier Hansson2008-11-263-5/+44
| | | | (and reloaded when they change in dev mode) [DHH]
* Added app/[models|controllers|helpers] to the load path for plugins that has ↵David Heinemeier Hansson2008-11-262-6/+29
| | | | an app directory (go engines ;)) [DHH]
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-253-13/+25
|\
| * Move debugger into middlewareJoshua Peek2008-11-253-12/+23
| |
| * don't try to require vendored rack in script/serverJoshua Peek2008-11-251-1/+2
| |
* | Explicitly require AS::Deprecation for the SecretKeyGenerator. Bring in ↵Jeremy Kemper2008-11-241-0/+2
|/ | | | ActiveSupport::TestCase for its tests.
* Really remove components.Jeremy Kemper2008-11-242-6/+1
|
* Add config.preload_frameworks to load all frameworks at startup. Default to ↵Jeremy Kemper2008-11-241-0/+23
| | | | false so Rails autoloads itself as it's used.
* Initializer#env relies on StringInquirer autoload. Style fixes.Jeremy Kemper2008-11-241-7/+4
|
* Add a rake task to generate dispatchers : rake rails:generate_dispatchersPratik Naik2008-11-241-0/+8
|