aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Get Railties tests passingCarlhuda2010-02-252-1/+4
|
* Application detection should also allow dots in the path.José Valim2010-02-261-1/+1
|
* Remove doubled periodJeremy Kemper2010-02-251-1/+1
|
* Update plugin tasks dirs deprecation warningJeremy Kemper2010-02-251-2/+2
|
* Fix dangling klass referenceJeremy Kemper2010-02-251-1/+1
|
* Fix test on 1.8.8. Broken by inherited hook now running before Class.new block.Jeremy Kemper2010-02-251-5/+6
|
* load_path is expecting a String in the application.rb generatorThomas R. Koll2010-02-251-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* let the rails command recurse upwards looking for script/rails, and exec ↵David Heinemeier Hansson2010-02-251-9/+28
| | | | ruby on it for better portability [Xavier Noria] (Closes #4008)
* Remove references to ActionDispatch::Routing::Routes in favor of ↵Carl Lerche2010-02-244-7/+7
| | | | Rails.appication.routes.
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+1
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-235-26/+13
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-232-0/+56
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* don't set @expected.date in generated mailer testDavid Chelimsky2010-02-221-1/+0
| | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-215-10/+10
|
* TypoMartin Schürrer2010-02-211-1/+1
|
* Also check if application is a valid constant in rake rails:update.José Valim2010-02-211-5/+11
|
* Add a test for default_url_options in AM.José Valim2010-02-211-0/+11
|
* Rename engines_load_path to railties_load_path.José Valim2010-02-201-1/+1
|
* Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵José Valim2010-02-192-10/+19
| | | | after_initializer is executed after to_prepare callbacks.
* Ensure config.after_initializer is executed before building the middleware ↵José Valim2010-02-183-4/+21
| | | | stack.
* Fix called_from under Windows so engines works properlyAaron2010-02-181-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add readme as method in Rails::Generators::Actions (as we had in 2.3)José Valim2010-02-173-1/+17
|
* Merge master.José Valim2010-02-176-14/+27
|\
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-155-13/+26
| |
* | Invalid namespace on app generation raises an errorKyle Maxwell2010-02-172-2/+12
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Show deprecation message for rails/init.rb in plugins.José Valim2010-02-172-2/+17
| |
* | Subscriber should not explode if a non namespaced instrumentation is given.José Valim2010-02-162-2/+9
| |
* | Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-1611-169/+169
|/
* require Strings, not SymbolsYehuda Katz2010-02-141-1/+1
|
* Remove backtrace cleaner specific to Bundler. Bundler just uses Gem.dir and ↵Carl Lerche2010-02-111-11/+0
| | | | Gem.path now.
* Resolve test/unit load ordering by removing backtrace filter from boot ↵Jeremy Kemper2010-02-113-11/+8
| | | | initializers
* Fix a couple failing tests.José Valim2010-02-101-4/+2
|
* Fixes unescaped version passthrough of generator 'gem' command. [#3901 ↵Michael Bleigh2010-02-102-1/+19
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix server environment [#3877 status:resolved]Simo Niemelä2010-02-102-6/+16
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add default values to output of 'rails server -h', hardcoded as Rack::Server ↵Prem Sichanugrist2010-02-101-3/+3
| | | | | | did since options doesn't have any data at the time of parsing arguments [#3910 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add missing -h/--help flag to several rails command [#3909 status:resolved]Prem Sichanugrist2010-02-106-11/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Debrittlize tests somewhat - fix for CI buildMikel Lindsaar2010-02-101-5/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Suggest Mongrel and Capistrano in the default bundleDavid Heinemeier Hansson2010-02-091-11/+17
|
* rails runner loads environment after parsing command-line optionsJeremy Kemper2010-02-092-2/+2
|
* Take into account gem versions (so script/rails server can work outside the ↵José Valim2010-02-083-3/+2
| | | | application) and use Rails::Application.root instead of ROOT_PATH.
* Updating Prototype to 1.6.1 and script.aculo.us to 1.8.3Mikel Lindsaar2010-02-084-1041/+1593
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding ruby version spec to all gemspec files to at least 1.8.7Mikel Lindsaar2010-02-081-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Check if Test::Unit is defined before adding backtrace filter.José Valim2010-02-073-1/+19
|
* fix ambiguous example for new invocation methodRomD2010-02-071-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add backtrace cleaner on test unit railtie.José Valim2010-02-071-0/+8
|
* Added newline to appended gem config in GemfileDan Kubb2010-02-061-1/+1
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Merge remote branch 'fxn/master'Jeremy Kemper2010-02-061-0/+2
|\
| * rack debugger needs active_support/core_ext/kernel/requires for ↵Xavier Noria2010-02-061-0/+2
| | | | | | | | require_library_or_gem
* | fix usage examples and more to use new invocationsRomD2010-02-0639-167/+167
|/ | | | Signed-off-by: Carl Lerche <carllerche@mac.com>