Commit Graph

11654 Commits

Author SHA1 Message Date
Joshua Peek
2fbd6f46fd Simply track controller namespaces instead of a complete list of
possible controllers to route to
2009-12-01 22:48:42 -06:00
Joshua Peek
7fe19d415a Make recognize try to constantize controller to see if it exists 2009-12-01 22:22:48 -06:00
Joshua Peek
30ae3538a3 Some basic route discovery tests 2009-12-01 21:19:20 -06:00
José Valim
28657e4f41 Update vendored thor and ensure that content is completely modified before checking file collisions.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-12-01 17:51:10 -08:00
Jeremy Kemper
74be70039f Avoid using unrequired core extensions 2009-12-01 15:07:41 -08:00
Jeremy Kemper
544de09631 rails:update:configs updates boot.rb and the rest of config/* 2009-12-01 13:37:29 -08:00
Jeremy Kemper
df9f5e771b Reinstate rails:update:configs task removed in e1fdc8b 2009-12-01 13:37:29 -08:00
Jeremy Kemper
fe319103db Fix rails:update:scripts 2009-12-01 13:37:29 -08:00
Joshua Peek
44587b7fae Merge branch 'master' of github.com:rails/rails 2009-12-01 14:53:39 -06:00
Joshua Peek
61a31f3d3d Fix generating params with optional defaults [#3404 state:resolved] 2009-12-01 14:52:19 -06:00
Jeremy Kemper
0c4990b5f4 Fix caching test to ensure notifications are all delivered 2009-12-01 12:19:42 -08:00
José Valim
6e30361260 Allow ActionController::Responder to have a common entry point for all formats.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-12-01 08:23:43 -08:00
Joshua Peek
6ac32a8328 Define a welcome controller in mailer tests 2009-11-29 18:28:45 -06:00
Joshua Peek
075f50d62c Fix some nested resource generation tests 2009-11-29 18:17:14 -06:00
Joshua Peek
f69f9820ee Wrap up http related routing helpers 2009-11-29 17:45:12 -06:00
Joshua Peek
312c3bfa24 Break down long match routing method 2009-11-29 17:39:37 -06:00
Joshua Peek
5da01a92c7 Make use of extract_options! 2009-11-29 17:01:14 -06:00
Joshua Peek
40ae2070d5 Extract Resource and SingletonResource helper objects 2009-11-29 16:59:44 -06:00
Joshua Peek
8815fefd16 Bump required rack-mount version to 0.2.3 2009-11-29 15:34:46 -06:00
Joshua Peek
b87c13242c Remove rackmount submodule 2009-11-29 15:26:55 -06:00
Joshua Peek
3f025e6408 Resource collection should be defined before member routes 2009-11-29 15:23:27 -06:00
Jeremy Kemper
327545c3ae Notifications: synchronous fanout queue pushes events to subscribers rather than having them concurrently pull 2009-11-29 02:30:35 -08:00
Bryan Helmkamp
bb84cab2fc Update reference to deprecated constant to avoid warnings 2009-11-28 23:41:03 -08:00
Yehuda Katz
45d8ff08a4 Remove reference to class that doesn't exist (ht: brynary) 2009-11-28 21:36:58 -08:00
Jeremy Kemper
4f2a04cc08 Notifications: extract central Notifier, cordon off the internal Fanout implementation, and segregate instrumentation concerns 2009-11-28 12:50:09 -08:00
Jeremy Kemper
02893d1705 Remark that Listener is an implementation detail 2009-11-28 12:50:09 -08:00
Jeremy Kemper
ddf681ce1d Expose a simple Queue#wait to block until all notifications are drained 2009-11-28 12:50:09 -08:00
Jeremy Kemper
6f7fc5824f Revert "Create SyncListener. Since they do not rely on Thread, they can be used on Google App Engine."
Take a step back on this API direction.

This reverts commit 8104f65c32.
2009-11-28 12:50:09 -08:00
Jeremy Kemper
eeb1afa200 Expand path relative to __FILE__ 2009-11-28 12:50:09 -08:00
Michael Koziarski
7e0aa35c20 avoid generating invalid SMTP commands in ruby pre 1.9
Signed-off-by: Michael Koziarski <michael@koziarski.com>

Conflicts:

	actionmailer/lib/action_mailer/base.rb
2009-11-28 13:34:05 +13:00
Carl Lerche
02c3c9dfbc Fix the application.rb generator 2009-11-25 14:52:56 -08:00
Carl Lerche
25b8e996bd Fix the rackup test to correctly use Rack::Builder.parse_file 2009-11-25 14:45:12 -08:00
Carl Lerche
34eac1cf1c Load application specific rake tasks in the application object 2009-11-25 14:29:28 -08:00
Jeremy Kemper
71a6b0465b Revert "macruby: no format_datetime or msg2str"
Obviated by fix in macruby trunk.

This reverts commit 6d91e7dca1.
2009-11-24 17:15:35 -08:00
Carlhuda
530b8ff5ae Have script/* and Rakefile use the application object 2009-11-24 14:36:30 -08:00
Carlhuda
a2cb90c0c2 Refactor script/dbconsole into an object 2009-11-24 13:05:21 -08:00
Jeremy Kemper
d8c5ea76bc Use Rails.env after loading environment 2009-11-24 10:46:16 -08:00
Joshua Peek
fa007e591d Quieter rake test runner 2009-11-24 12:04:36 -06:00
Jeremy Kemper
e62e6d4099 Add a dead --irb option mentioning upgrade path 2009-11-23 22:09:36 -08:00
Jeremy Kemper
0088ceb6fa Set RAILS_ENV before loading config/environment 2009-11-23 22:07:37 -08:00
Joshua Peek
59dbae145b Privatize Routing.possible_controllers and fix brittle url helper
controller test loading.
2009-11-23 21:50:21 -06:00
Joshua Peek
15ab3a98a1 Find all controllers in memory to use for routing 2009-11-23 20:20:50 -06:00
Joshua Peek
f987e8561c with_controllers is no longer used 2009-11-23 19:45:42 -06:00
Joshua Peek
8d351eac07 Extract Routing.controller_constraints 2009-11-23 19:44:43 -06:00
Carlhuda
53d7acdf4f Refactor script/console into an object and use IRB.start instead of calling exec. 2009-11-23 17:28:50 -08:00
Carlhuda
a080323cb0 Refactor script/server into an object that inherits from Rack::Server 2009-11-23 17:28:50 -08:00
Carlhuda
58dec09353 Update rails application root detection to take into consideration a callstack that includes the rack library 2009-11-23 17:28:50 -08:00
Carlhuda
c102db9367 Updates notifications tests in railties to reflect changes to the notifications API 2009-11-23 17:28:50 -08:00
Joshua Peek
350d3daa88 Remove inflection reloads routes test 2009-11-23 19:25:39 -06:00
Joshua Peek
01c9f99c53 Kill dead routing internals helpers 2009-11-23 19:17:53 -06:00