Commit Graph

2014 Commits

Author SHA1 Message Date
Bryan Helmkamp
f221a6f19f Leverage VERSION constants from gemspecs to avoid tedious updates when releasing 2010-03-02 00:32:53 -05:00
Bryan Helmkamp
a4111bbca0 Update versions of all components to normalize them to new format 2010-03-02 00:32:48 -05:00
Jeremy Kemper
a0e8eca30b Fix unstated usage of Action Dispatch 2010-03-01 21:29:47 -08:00
Jeremy Kemper
812136a0b2 Fix unstated usage of Pathname 2010-03-01 19:29:12 -08:00
Jeremy Kemper
8bb162f008 Fix unstated usage of inflector 2010-03-01 18:52:07 -08:00
Joshua Peek
a5da48d231 vendor/rails doesn't work anymore, remove it from the blank slate suggestion 2010-02-28 18:32:46 -06:00
Joshua Peek
7317d9ef4c Remove implicit controller namespacing from new dsl 2010-02-28 16:39:01 -06:00
Joao Carlos
020fdb28ee #exit accepts an integer, not a string
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-28 12:29:01 +01:00
Yehuda Katz
6ffc8364dc Explain why we're calling an empty callback 2010-02-27 17:29:28 -08:00
Yehuda Katz
b51c0d4d25 1.9 doesn't like lambda {} being called with arguments 2010-02-27 17:28:46 -08:00
Jeremy Kemper
b1b922d6ea Revert "Revert "Application detection should also allow dots in the path.""
Works after all. Culprit was 226dfc2.

This reverts commit 6189480b1878cdadb092fdfa32ba156a91e6a0e1.
2010-02-27 17:10:04 -08:00
Jeremy Kemper
6189480b18 Revert "Application detection should also allow dots in the path."
Ruby 1.9 regression.

This reverts commit 76237f163ff7ad2a64af926030e3449c547cafa2.
2010-02-27 16:59:18 -08:00
Jeremy Kemper
6324eeefd7 plugin rails/init.rb deprecation message 2010-02-26 16:08:00 -08:00
Carlhuda
98f77e0827 Rename named_url_helpers to url_helpers and url_helpers to url_for 2010-02-26 15:04:50 -08:00
José Valim
e6dffb70e6 reload! on console now works as expected. [#3822 status:resolved] 2010-02-26 12:09:39 +01:00
Dr Nic Williams
b56b9ee7d6 #add_source: Fixed docco + added required newline to line added to Gemfile
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-26 11:11:35 +01:00
Ramon Soares
79c47abe6c the folder public/javascripts should be created by default [#4027 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-26 10:54:44 +01:00
José Valim
5893baa683 Add autoload to generators modules and fix failing test. 2010-02-26 10:44:53 +01:00
Carlhuda
8760add31a Get URL helpers working again in integration tests. 2010-02-25 17:53:30 -08:00
Carlhuda
fc4582fb66 Final pass at removing the router from a global constant 2010-02-25 17:53:29 -08:00
Carlhuda
9a5be2e5a8 Get Railties tests passing 2010-02-25 17:53:01 -08:00
José Valim
76237f163f Application detection should also allow dots in the path. 2010-02-26 02:35:14 +01:00
Jeremy Kemper
6e78fdbef0 Remove doubled period 2010-02-25 16:45:59 -08:00
Jeremy Kemper
e2795383cf Update plugin tasks dirs deprecation warning 2010-02-25 16:32:24 -08:00
Thomas R. Koll
45ceacd6de load_path is expecting a String in the application.rb generator
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-25 10:45:34 -08:00
Jeremy Kemper
f7b0a857e9 Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. 2010-02-25 09:32:29 -08:00
Carl Lerche
ba57575e03 Remove references to ActionDispatch::Routing::Routes in favor of Rails.appication.routes. 2010-02-24 10:52:16 -08:00
Carlhuda
5e2bd08023 Makes send_file work again by deferring to Rack::Sendfile.
* 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.
2010-02-23 17:06:35 -08:00
David Chelimsky
a6684eeb78 don't set @expected.date in generated mailer test
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-22 09:15:27 +01:00
Martin Schürrer
6bc24d40d5 Use ActionDispatch::Routing everywhere 2010-02-21 13:43:51 -08:00
Martin Schürrer
4cdfe98d92 Typo 2010-02-21 13:43:51 -08:00
José Valim
4477bccda6 Also check if application is a valid constant in rake rails:update. 2010-02-21 13:44:08 +01:00
José Valim
fed72b5842 Rename engines_load_path to railties_load_path. 2010-02-20 15:46:55 +01:00
José Valim
e49f94d71c Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure after_initializer is executed after to_prepare callbacks. 2010-02-19 08:15:49 +01:00
José Valim
a5684dfa3c Ensure config.after_initializer is executed before building the middleware stack. 2010-02-18 18:56:11 +01:00
Aaron
1477a6101d Fix called_from under Windows so engines works properly
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-18 18:36:55 +01:00
José Valim
d0454e5766 Add readme as method in Rails::Generators::Actions (as we had in 2.3) 2010-02-17 18:43:40 +01:00
Kyle Maxwell
d4e008fd0f Invalid namespace on app generation raises an error
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-17 00:38:30 +01:00
José Valim
23fd1f1280 Show deprecation message for rails/init.rb in plugins. 2010-02-17 00:18:12 +01:00
José Valim
01cd9d66ed Subscriber should not explode if a non namespaced instrumentation is given. 2010-02-16 22:39:07 +01:00
Prem Sichanugrist
f0523f72b4 Rename Rails::Subscriber to Rails::LogSubscriber 2010-02-16 22:36:15 +01:00
Yehuda Katz
411c15ed52 require Strings, not Symbols 2010-02-14 11:56:21 -08:00
Carl Lerche
eea28b07cf Remove backtrace cleaner specific to Bundler. Bundler just uses Gem.dir and Gem.path now. 2010-02-11 10:29:50 -08:00
Jeremy Kemper
8afcd33246 Resolve test/unit load ordering by removing backtrace filter from boot initializers 2010-02-11 09:01:52 -08:00
Michael Bleigh
9c654744fb Fixes unescaped version passthrough of generator 'gem' command. [#3901 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:28:03 +01:00
Simo Niemelä
cafe882d12 Fix server environment [#3877 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:14:02 +01:00
Prem Sichanugrist
f337ebc308 Add default values to output of 'rails server -h', hardcoded as Rack::Server 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>
2010-02-10 08:08:27 +01:00
Prem Sichanugrist
af22c5b16a Add missing -h/--help flag to several rails command [#3909 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:08:16 +01:00
David Heinemeier Hansson
834a45d8a2 Suggest Mongrel and Capistrano in the default bundle 2010-02-09 17:12:37 -08:00
Jeremy Kemper
39ebd6eb2b rails runner loads environment after parsing command-line options 2010-02-09 08:40:21 -08:00