Commit Graph

13281 Commits

Author SHA1 Message Date
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
Joshua Peek
5cc17da894 activerecord test load paths 2010-02-28 18:28:25 -06:00
Joshua Peek
4377deed35 ensure activemodel lib is setup correctly 2010-02-28 18:27:00 -06:00
Joshua Peek
1a2fba1b6b don't expand test path 2010-02-28 18:26:00 -06:00
Joshua Peek
cbefcc88b3 add activesupport and activemodel load paths to actionpack tests 2010-02-28 18:25:02 -06:00
Joshua Peek
f0fe555d84 fix up actionmailer load path 2010-02-28 18:18:21 -06:00
Joshua Peek
6c8d852056 fix up activesupport test load paths 2010-02-28 18:16:57 -06:00
Joshua Peek
fef7a77386 Request#subdomain returns a string version of Request#subdomains 2010-02-28 17:16:34 -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
José Valim
f3839b2b99 ActiveRecord should raise an error on invalid migration types. 2010-02-28 11:53:48 +01:00
José Valim
ae8070e21b Add missing information about attributes method. 2010-02-28 11:43:13 +01:00
José Valim
32afcdcb88 ActiveModel::Lint should not require our models to respond to id. 2010-02-28 11:39:39 +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 6189480b18.
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 76237f163f.
2010-02-27 16:59:18 -08:00
S. Christoffer Eliesen
09cb0977d4 Print database.rake errors to stderr.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-27 16:53:40 -08:00
Yehuda Katz
1c9de08734 Escape the file name (who knows when a "(" might appear in a filename!) 2010-02-27 12:18:28 -08:00
Yehuda Katz
d8acaf2b66 Remove the noisy lines involving AS::Dependencies from the NameError stack trace if a constant cannot be found. 2010-02-27 11:51:19 -08:00
Yehuda Katz
8247bd9d3e The instance_reader of default_url_options needs to not exist. 2010-02-27 00:18:16 -08:00
Yehuda Katz
3f0ed205e7 Remind us that RoutingAssertions should work in an integration context 2010-02-26 22:47:36 -08:00
Carlhuda
4bdc783d37 1.9 seems to have a bug involving cloned classes and super. Fix it by not cloning (and instead creating classes on demand). The 1.9 bug should be investigated. 2010-02-26 18:25:56 -08:00