Joshua Peek
|
fbc6129acd
|
Treat single C operations in MemoryStore as atomic
|
2008-08-06 17:03:42 -05:00 |
|
Joshua Peek
|
dfc83566b3
|
Make FileStore use atomic writes
|
2008-08-06 14:54:18 -05:00 |
|
Joshua Peek
|
e5b1ab7cc3
|
MemoryStore is the only "unsafe" store. Make it threadsafe by default.
|
2008-08-06 14:54:18 -05:00 |
|
Joshua Peek
|
73056500f8
|
Make File.atomic_write copy the original permissions or use the directories default.
|
2008-08-06 14:54:18 -05:00 |
|
Nik Wakelin
|
0809747845
|
Added MigrationProxy to defer loading of Migration classes until they are actually required by the migrator
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#747 state:resolved]
|
2008-08-06 12:46:52 +02:00 |
|
Jeremy Kemper
|
29a06f10e8
|
Strip newlines from cookie session data
|
2008-08-05 19:28:52 -07:00 |
|
Jeremy Kemper
|
69e9cbb99a
|
Ensure public superclass methods don't shadow public controller methods. Case in point, ruby-debug's Kernel#start shadowing a controller's start action.
|
2008-08-05 17:35:08 -07:00 |
|
Jeffrey Hardy
|
8d72b82b8d
|
Make assert_template failure message more friendly
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-05 16:29:56 -05:00 |
|
Clemens Kofler
|
dc66469e64
|
Fixed i18n bulk translate issues in NumberHelper
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-04 22:26:14 -05:00 |
|
Joshua Peek
|
177a35e711
|
Added config.threadsafe! to toggle allow concurrency settings and disable the dependency loader
|
2008-08-04 22:19:41 -05:00 |
|
Jeremy Kemper
|
ddd552504b
|
Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need escaping
|
2008-08-04 18:37:53 -07:00 |
|
Ben Sandofsky
|
61842d97c5
|
Make requiring gems optional.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#743 state:resolved]
|
2008-08-04 14:53:21 +02:00 |
|
Tarmo Tänav
|
82343859d5
|
Added missing fixtures for tests which fail to run independently if run after schema reset
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-08-04 11:50:15 +02:00 |
|
Joshua Peek
|
cb21db1a33
|
Treat ActionMailer template_root as a view path set internally to avoid inheritance and dupping issues
|
2008-07-31 20:11:52 -05:00 |
|
Jeremy Kemper
|
909a7f430b
|
Ensure mailer view path is loaded when it's assigned. Path#[] raises if it isn't loaded.
|
2008-07-31 17:51:43 -07:00 |
|
Jeremy Kemper
|
ad4553587e
|
List available actions in UnknownAction exception message
|
2008-07-31 17:50:53 -07:00 |
|
Jeremy Kemper
|
46a458206f
|
Merge branch 'master' of git@github.com:rails/rails
|
2008-07-31 16:35:58 -07:00 |
|
Jeremy Kemper
|
a540725f0d
|
load_application_classes requires files relative to the load path and without .rb extension, including .rb files in subdirectories
|
2008-07-31 16:35:17 -07:00 |
|
Tarmo Tänav
|
0b9bfbdebf
|
Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-31 16:39:48 -05:00 |
|
Tarmo Tänav
|
656f0e7c6c
|
Fix file permissions
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-31 16:36:23 -05:00 |
|
Tarmo Tänav
|
f7eaab96d3
|
validates_uniqueness_of uses database case sensitivity support instead of using ruby
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 21:33:11 +02:00 |
|
miloops
|
f3da46effa
|
In javascript helpers option[:type] = :synchronous should work as described in docs.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 21:28:12 +02:00 |
|
Tarmo Tänav
|
cb68b21a52
|
Fixed negative default integer parsing for Postgresql 8.3.3
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 20:58:42 +02:00 |
|
Joshua Peek
|
030d5854ad
|
Turn cache_classes on by default [#645 state:resolved]
|
2008-07-31 13:42:28 -05:00 |
|
Tarmo Tänav
|
68b207b087
|
Cast value to string in validates_uniqueness_of if the column is of text type
This fixes an error for postgresql where "text_column = 100" fails in version 8.3
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 20:28:39 +02:00 |
|
Tarmo Tänav
|
896a3b9ab8
|
Fixed test_joins_with_namespaced_model_should_use_correct_type for postgresql
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-31 19:02:32 +02:00 |
|
miloops
|
fb5cc19707
|
Fix HasManyThroughAssociationsTest tests. [#733 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-31 17:01:22 +01:00 |
|
Pratik Naik
|
108db00aa9
|
Raise UnknownAttributeError when unknown attributes are supplied via mass assignment
|
2008-07-31 15:56:46 +01:00 |
|
Michael Koziarski
|
f64bd2ca85
|
Ensure dbconsole includes the -p parameter to mysql as intended
|
2008-07-31 09:46:40 +02:00 |
|
miloops
|
2617d0dc5c
|
Performance: grouping helpers should use yield instead of block as argument. [#723 state:resolved]
|
2008-07-30 01:52:16 -07:00 |
|
José Valim
|
c4038764d2
|
Initializer requires ERB explicitly instead of assuming Action Pack loaded it. [#722 state:resolved]
|
2008-07-30 01:49:49 -07:00 |
|
miloops
|
eaab895f83
|
Prototype helpers should generate Element.insert instead of Insertion.new, which has been deprecated in Prototype 1.6.
|
2008-07-30 01:42:32 -07:00 |
|
José Valim
|
c8e80f6389
|
Initializer skips prepare_dispatcher if Action Controller isn't in use. [#721 state:resolved]
|
2008-07-30 01:41:51 -07:00 |
|
Joshua Peek
|
a065b764e5
|
Reapply 'cab168ac' because it was accidentally patched over in '10d9fe4b'
|
2008-07-29 22:04:07 -05:00 |
|
Clemens Kofler
|
fea7771d22
|
Updated NumberHelper: Full i18n support (except number_to_phone), consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-29 21:47:02 -05:00 |
|
Michael Koziarski
|
d9452d3ab3
|
Remove incomplete non-blocking logger functionality
|
2008-07-29 20:01:25 +02:00 |
|
Michael Koziarski
|
a24398b647
|
Guard the logger's internal buffer to prevent major breakage on genuinely threaded environments
|
2008-07-29 19:49:38 +02:00 |
|
Jan De Poorter
|
7aaf1689dd
|
Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-29 12:39:21 +01:00 |
|
Jeremy Kemper
|
2cf161a384
|
Once is enough, mmk
|
2008-07-28 13:54:10 -07:00 |
|
Jeremy Kemper
|
ae6105ef01
|
Don't rememoize if already frozen
|
2008-07-28 13:54:10 -07:00 |
|
Jeremy Kemper
|
eb256718c3
|
Remove send! usage, relic of reverted 1.9 behavior
|
2008-07-28 13:54:10 -07:00 |
|
Jeremy Kemper
|
50bbc87f85
|
MacRuby: BasicObject unavailable
|
2008-07-28 13:54:10 -07:00 |
|
Joshua Peek
|
19db0b7324
|
Added back ActionController::Base.allow_concurrency flag and moved lock down to controller processing.
|
2008-07-28 14:31:40 -05:00 |
|
Joshua Peek
|
a5db148825
|
Prepare Route#generate and Route#recognize early. Also refactor segments a bit to try to make immutable.
|
2008-07-28 13:41:42 -05:00 |
|
Joshua Peek
|
e0513e33c4
|
Routing whitespace cleanup
|
2008-07-28 13:38:20 -05:00 |
|
Pratik Naik
|
6e75455125
|
Merge docrails changes
|
2008-07-28 12:33:24 +01:00 |
|
Clemens Kofler
|
10d9fe4bf3
|
Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link to accept options hash [#705 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:49:19 -05:00 |
|
Clemens Kofler
|
f7abf0c9db
|
error_message_on takes an options hash instead of ordered parameters [#704 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-27 16:34:20 -05:00 |
|
Joshua Peek
|
490178c930
|
Revert "Ensure adapater specific code is loaded on ActiveRecord::Base.establish_connection"
This reverts commit 8b858782fa.
|
2008-07-27 16:06:51 -05:00 |
|
George Ogata
|
e8fc894f66
|
Make observers define #after_find in the model only if needed.
[#676 state:resolved]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
|
2008-07-26 16:26:08 +02:00 |
|