aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Make tests passYehuda Katz2009-02-022-2/+2
|
* Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/base.rb actionpack/lib/action_dispatch/http/mime_type.rb actionpack/lib/action_dispatch/http/request.rb actionpack/lib/action_view/base.rb actionpack/lib/action_view/paths.rb actionpack/test/controller/session/cookie_store_test.rb actionpack/test/dispatch/rack_test.rb actionpack/test/dispatch/request_test.rb
| * Reorganize ActionController folder structureJoshua Peek2009-01-271-1/+1
| |
* | Added options to script/dbconsole to sqlite3 console in various different ↵Bryan Ray2009-01-281-1/+17
| | | | | | | | | | | | modes. [#607 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Disable eager loading for all rake tasks [#802 state:resolved]Joshua Peek2009-01-273-3/+5
| |
* | Fix the changelog entryPratik Naik2009-01-231-2/+2
|/
* Setup ActiveRecord QueryCache middleware in the initializerJoshua Peek2009-01-211-0/+1
|
* Only insert metal middleware if any existJoshua Peek2009-01-211-1/+3
|
* Merge docrailsPratik Naik2009-01-1859-13877/+11698
|
* Bump up the year in MIT license filesPratik Naik2009-01-182-2/+2
|
* Remove script/performance/profiler in favour of performance integration tests.Pratik Naik2009-01-184-10/+7
| | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git
* Decouple the local cache strategy from MemCacheStore for reuse with other ↵Lourens Naude2009-01-171-2/+4
| | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵Nahum Wild2009-01-151-0/+3
| | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use Rack's MethodOverride lib [#1699 state:resolved]Joshua Peek2009-01-131-1/+1
|
* Use :key instead of old :session_key in session_store.rb generator and docs ↵Cody Fauser2009-01-132-2/+2
| | | | | | [#1746 state:resovled] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix test broken by test process changesJeremy Kemper2009-01-071-7/+4
|
* Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-071-1/+1
| | | | alias_method_chain :process either.
* Consolidate test_help requiresJeremy Kemper2009-01-061-2/+1
|
* Move metal above method piggybacking middleware and add some test coverageJoshua Peek2009-01-031-1/+1
|
* Fixed bug where calling app method from console would raise ArgumentError ↵ddemaree2009-01-021-0/+9
| | | | | | [#1629 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Only silence backtrace from plugin lib dirsJeremy Kemper2008-12-301-1/+2
|
* Clean trailing / after rails root from backtracesJeremy Kemper2008-12-301-1/+1
|
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-3/+4
| | | | and Template::EagerPath
* Fix failing gem dependency tests [#1659 state:resolved]Mike Gunderloy2008-12-291-12/+12
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix FCGI dispatching testsMike Gunderloy2008-12-291-42/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow custom rails generators to pass in their own binding to Create command ↵Joshua Peek2008-12-281-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 Gunderloy2008-12-282-2/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵Aaron Quint2008-12-281-0/+10
| | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-272-66/+243
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrailsPratik Naik2008-12-263-84/+334
|
* Merge commit 'fred/more_pullable'Pratik Naik2008-12-211-1/+1
|\
| * Fix script/dbconsole not handling numeric password [#1395 state:resolved]pfagiani2008-12-211-1/+1
| | | | | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* | Correct description of tmp:create task [#1607 state:resolved] [Roderick van ↵Pratik Naik2008-12-211-2/+2
|/ | | | Domburg]
* Diverge Metal implementation from Rack::Cascade since we want the last app ↵Joshua Peek2008-12-192-44/+22
| | | | to return its headers and body if the status is a 404.
* Merge docrailsPratik Naik2008-12-1916-1111/+853
|
* Cheaper metal cascadeJeremy Kemper2008-12-182-10/+51
|
* Use LogTailerJeremy Kemper2008-12-181-1/+1
|
* Rename Rails::Rack::Logger -> LogTailer. Speed up log mtime checks.Jeremy Kemper2008-12-183-29/+36
|
* Cheaper log tail time comparisonJeremy Kemper2008-12-181-3/+3
|
* Move gaint lock into middlewareJoshua Peek2008-12-181-1/+1
|
* Make generated Metal bits a pure rack endpoint application (not middleware)Joshua Peek2008-12-173-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 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`
* normalize author names in changelogs [#1495 state:committed]Xavier Noria2008-12-161-195/+195
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Switch to Rack based session stores.Joshua Peek2008-12-153-11/+4
|
* 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
|
* How'd that sneak in there?Jeremy Kemper2008-12-091-1/+0
|
* 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-074-3/+11
| | | | Example : rake rails:template LOCATION=~/template.rb