Commit Graph

11632 Commits

Author SHA1 Message Date
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
Joshua Peek
ef771552b7 Don't really care about reloading routes when inflections are
changed.
2009-11-23 18:59:48 -06:00
Jeremy Kemper
eeb1f472a5 RAILS_ENV falls back to RACK_ENV 2009-11-23 16:10:51 -08:00
Joshua Peek
0ddba7cf66 Require rackmount >= 0.2.2 2009-11-23 18:07:18 -06:00
Yehuda Katz
934bb012ba Fixes remote errors in isolation tests 2009-11-23 15:42:25 -08:00
Jeremy Kemper
f8d06e62a9 Pending test now passing 2009-11-23 14:07:54 -08:00
David Heinemeier Hansson
35eda7d6d2 Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs [DHH] 2009-11-23 15:36:48 -06:00
Jeremy Kemper
78790e47b8 Revert "Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted.""
This reverts commit 2b82708b0e.

[#3128 state:resolved]

Conflicts:

	activerecord/lib/active_record/associations.rb
	activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
2009-11-23 10:42:32 -08:00
José Valim
d0aa0cfbd7 Ensure generator fallbacks work even when a context is given.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-11-23 09:08:48 -08:00
José Valim
d6f10126eb Also load generators at lib/rails_generators.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-11-23 09:08:33 -08:00
José Valim
8104f65c32 Create SyncListener. Since they do not rely on Thread, they can be used on Google App Engine.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-11-23 09:08:17 -08:00
Jeremy Kemper
0f9029ec48 Explicit source no longer needed, default gems source points to gemcutter. 2009-11-22 14:34:11 -08:00
Jeremy Kemper
6d91e7dca1 macruby: no format_datetime or msg2str 2009-11-21 19:11:50 -08:00
Jeremy Kemper
e1935e3c0c Fix Rails::Rack::Static deprecated constant proxy 2009-11-21 10:45:42 -08:00
Jeremy Kemper
0ce9206541 Update gemspec also 2009-11-19 18:31:50 -08:00
Joshua Peek
74a0fb9722 Should be rackmount 0.2 2009-11-19 18:08:38 -08:00
Joshua Peek
4236473e31 Depend on rack-mount 0.0.2 2009-11-19 17:59:26 -08:00
Joshua Peek
6e67f88a11 Extended and case insensitive regexp routes aren't that important.
Mark them as pending till I figure it out.
2009-11-19 17:58:57 -08:00
Joshua Peek
4b325fcd1a Update routing for rackmount 0.2 api changes 2009-11-19 17:58:57 -08:00
Jeremy Kemper
c7c39f52dc Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working"
Broke stuff.

This reverts commit 520b8b5911.
2009-11-19 15:24:00 -08:00
Joshua Peek
5df26dd7a9 Add basic nested named route support to new routing dsl. Also add a
bunch of pending tests.
2009-11-19 09:04:53 -08:00
Jeremy Kemper
0dfd993e77 Fix test bleed 2009-11-18 17:54:27 -08:00
Yehuda Katz + Carl Lerche
520b8b5911 Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working 2009-11-18 16:28:37 -08:00