Commit Graph

13303 Commits

Author SHA1 Message Date
Carlhuda
bcfb77782b Work on deprecating ActionController::Base.relative_url_root 2010-03-03 15:49:52 -08:00
Carlhuda
6640903481 Move InheritableOptions into ActiveSupport 2010-03-03 15:49:52 -08:00
Carlhuda
bf9913f8f4 Move session_store and session_options to the AC configuration object 2010-03-03 15:49:52 -08:00
Carlhuda
9731c5213b Don't rely on Rails.application global state in Config 2010-03-03 15:49:24 -08:00
Carlhuda
29158d4158 Remove a failed attempt at refactoring AC configuration 2010-03-03 15:49:24 -08:00
Carl Lerche
7979da2fa8 Revert "In app_generator, fix hardcoded bundle call to derive the bundle executable name from Thor::Util.ruby_command."
This reverts commit 6f4c45199b.

This breaks the tests. Please investigate.
2010-03-03 15:38:22 -08:00
Caio Chassot
6f4c45199b In app_generator, fix hardcoded bundle call to derive the bundle executable name from Thor::Util.ruby_command.
This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-03 10:12:42 +01:00
Joao Carlos
70b8495468 Better with #abort
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-03 10:12:42 +01:00
Jason King
f36a380c07 Inflection dependency, [#4067 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-03 10:12:42 +01:00
Pavel Golubeff
cd5ec4744d Fix quoting regexp encoding in ActionMailer
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-03 10:12:42 +01:00
Carl Lerche
9dae645c5f Actually move ImplicitRender into it's own file 2010-03-03 00:43:05 -08:00
windock
6feffe5f38 whiny nil shouldn't depend on Active Record [#4092 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-03 09:41:17 +01:00
José Valim
b4b0c4cb41 Add missing super call in AC::Metal. [#4085 status:resolved] 2010-03-03 09:25:41 +01:00
Carl Lerche
07b5146442 Fix active_records' log tests 2010-03-02 23:01:31 -08:00
Carl Lerche
312570c488 Fix active_resource tests 2010-03-02 22:56:34 -08:00
Carl Lerche
05f27761a2 Fix action_mailer tests 2010-03-02 22:55:09 -08:00
Teng Siong Ong
eca46e3102 Use non-deprecated Rails.application instead of ActionController::Dispatcher.new and ActionDispatch::Integration instead of ActionController::Integration for console.
[#4072 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-02 21:56:37 -08:00
Mikel Lindsaar
6193be26ce Removing prototype and just using vanilla js 2010-03-02 18:46:14 -08:00
Carlhuda
d78e3fe73f Fix failing Action Pack tests 2010-03-02 14:41:12 -08:00
Jeremy Kemper
9f83cdc38e No longer add missing leading / on path args to assert_redirected_to. Deprecated in 2.3.6. 2010-03-02 14:16:25 -08:00
Yehuda Katz
6d7d03b77c Fix some tests that relied on hardcoded Exception information (ht: evan) 2010-03-02 14:04:57 -08:00
Carlhuda
aa749a74f6 Get the railties tests to pass again. 2010-03-02 14:00:25 -08:00
Jeremy Kemper
ecfd6d90ee Action Mailer setup obviated by test bundle 2010-03-02 13:54:59 -08:00
Carlhuda
c2dbc391a9 Have log subscribers subscribe to the actual events, so the subscriber doesn't subscribe to *every* event, so we can have events that are slow-ish but are not actually run in production. 2010-03-02 13:05:25 -08:00
Carlhuda
d434c54068 Log Tailer doesn't exist anymore. Removing some traces left over in tests. 2010-03-02 12:34:26 -08:00
Carlhuda
b01db07a9f Moved initializers for ActionMailer and ActionController into their own railties 2010-03-02 12:32:31 -08:00
Carlhuda
57bae9764e Fix a test that assumes that defined?(ActiveRecord) == defined?(ActiveRecord::Base) 2010-03-02 12:31:29 -08:00
Carlhuda
a64fcc1a8d :controller doesn't work for namespaced controllers anymore. 2010-03-02 12:06:40 -08:00
Jeremy Kemper
5c40c2691d Stray line. Typo. 2010-03-02 10:44:40 -08:00
Jeremy Kemper
56ea20605a Wordsmith gem descriptions 2010-03-02 10:43:41 -08:00
Jeremy Kemper
ea4fd64133 Revert orphaned SharedTestRoutes 2010-03-01 23:22:11 -08:00
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
Bryan Helmkamp
b1769fe0bd Add rake update_versions task at root for quickly updating all components 2010-03-02 00:32:41 -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
Bryan Helmkamp
11db694e0b Remove cruft in the gem packaging and release code 2010-03-01 19:00:19 -08:00
Jeremy Kemper
8bb162f008 Fix unstated usage of inflector 2010-03-01 18:52:07 -08:00
Carlhuda
fc0882ba5a Optimize AS::Notifications to remember which subscribers don't match and not run them. This will allow notifications that are only useful in dev or testing to run efficiently in production. 2010-03-01 17:45:37 -08:00
Carlhuda
c88360ef36 You can unsubscribe a subscriber 2010-03-01 17:45:37 -08:00
Carlhuda
048b436f33 AS::Subscriber is not a LogSubscriber 2010-03-01 17:45:37 -08:00
Carlhuda
300d6b549d Merge _details_defaults and details_for_render 2010-03-01 17:45:37 -08:00
Jeremy Kemper
8b5b241377 Bump pg dep to 0.9.0+ 2010-03-01 16:20:10 -08:00
Carlhuda
b85ea58eb5 Change AV formats so they can delegate to the controller. Now users (or plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details... 2010-03-01 14:37:05 -08:00
Carlhuda
8fbbdda526 Delegate formats to the controller 2010-03-01 14:10:53 -08:00
Lourens Naudé
2060977b76 Hash#symbolize_keys(!) optimizations
[#3891 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-01 11:22:41 -08:00
Joshua Peek
82deaf5f05 nested controllers need to be explicitly declared with the new mapper 2010-02-28 18:43:20 -06:00
Joshua Peek
2ce3085e3c Define Bundler constant stub if bundler gem is not installed 2010-02-28 18:34:57 -06: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
30446f7b29 correct activeresource load path 2010-02-28 18:29:34 -06:00