Commit Graph

11607 Commits

Author SHA1 Message Date
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 2b82708b0efb3a3458e8177beab58f0c585788ae.

[#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 520b8b59110dd130c89b317b6bd65d8644c7836f.
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
Jeremy Kemper
4403dfac6c Check whether another lib has implemented ruby 1.9 string interp syntax 2009-11-18 11:33:41 -08:00
Jeremy Kemper
e1385be025 Extract form_authenticity_param instance method so it's overridable in subclasses 2009-11-17 23:40:06 -08:00
Gabe da Silveira
ea290e77e6 Insert generated association members in the same order they are specified when assigning to a has_many :through using the generated *_ids method
[#3491 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-11-17 22:25:40 -08:00
Jeremy Kemper
fb61fbd352 Revert "Ensure Model#destroy respects optimistic locking"
[#1966 state:open]

This reverts commit 0d922885fb54c19f04680482f024452859218910.

Conflicts:

	activerecord/lib/active_record/locking/optimistic.rb
2009-11-17 15:35:35 -08:00
Joshua Peek
f8877d4b2a Merge remote branch 'Fingertips/master' 2009-11-16 21:03:27 -06:00
Yehuda Katz
c2997017f7 Make script/server work with correct application.rb 2009-11-16 13:58:08 -08:00
Yehuda Katz
2675ba9ef4 Require action_dispatch, not action_controller 2009-11-16 12:37:43 -08:00
Yehuda Katz
c1f5168073 Temporarily add submodules to the Rails repo for Arel and Rack::Mount. These submodules will be removed once we add proper Gemfile following to bundler 2009-11-16 12:30:06 -08:00
Will Read
7fadb3f261 Allow explicit placement of hidden id element for nested models.
[#3259 state:resolved]

Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
2009-11-15 21:47:57 +01:00
Jeremy Kemper
7601d482bd Ruby 1.9: skip pg locking test for 1.9.1 also 2009-11-15 10:28:58 -08:00
Yehuda Katz
cc011bc2be Add TimeZone dependency 2009-11-14 19:33:58 -08:00
Jeremy Kemper
bc1538e995 Repair time dependencies 2009-11-14 11:37:06 -08:00
Jeremy Kemper
74e1ff9dc2 Loosen optional gem deps from ~> to >= 2009-11-14 03:32:35 -08:00
Jeremy Kemper
3ee9b8f2b2 Remove Gemfile deps duplicated from AP gemspec 2009-11-14 03:27:18 -08:00
Jeremy Kemper
795213a5f4 Just use abstract_unit 2009-11-14 03:27:18 -08:00
Jeremy Kemper
313a7ea9d6 Fix bundler environment check 2009-11-14 03:27:18 -08:00
Jeremy Kemper
61843595ea No need for test stub 2009-11-14 03:27:18 -08:00
Jeremy Kemper
364a8f3902 No need to check for generated method, just redispatch 2009-11-14 01:51:52 -08:00
Jeremy Kemper
6ebb061b18 Ruby 1.9.2: use recursive flatten 2009-11-14 01:50:47 -08:00
Jeremy Kemper
f0f4dffd3b Skip pg locking test due to connection checkout deadlock detection 2009-11-14 01:22:36 -08:00
Jeremy Kemper
7eb4f2ecc5 Consolidate date & time landscape: require 'active_support/time' 2009-11-14 01:13:54 -08:00
Jeremy Kemper
92253829de Ruby 1.9.2: fix flatten_deeper to preserve nils 2009-11-14 01:12:49 -08:00
Jeremy Kemper
58c0d31487 Notifications: queue.drained? for testability in place of brittle sleeps 2009-11-13 20:58:38 -08:00
Jeremy Kemper
66fda6b894 Fix duration check for longer sleep 2009-11-13 19:28:59 -08:00
Jeremy Kemper
7ab78b9ccd CI: slow down brittle notifications tests 2009-11-13 18:57:10 -08:00