Vicente Mundim
68b02cb00a
Make filter_parameters work correctly with array parameters.
2009-06-27 12:43:57 +12:00
Yehuda Katz + Carl Lerche
188a892c5a
Starting to replace scattered path configuration settings with the path object
2009-06-26 17:32:05 -07:00
Yehuda Katz + Carl Lerche
4153c6b720
Finished a first stab at the Rails application path object.
2009-06-26 15:37:52 -07:00
Yehuda Katz + Carl Lerche
b0774281ef
Update paths to support an explicit root and multiple paths per category
2009-06-26 15:37:52 -07:00
Yehuda Katz + Carl Lerche
728e3b4047
Simple initial Paths impl
2009-06-26 15:37:52 -07:00
Yehuda Katz + Carl Lerche
2865421f5d
Checkpoint. Added a bunch of TODOs and some changes after further going through the initializer
2009-06-26 15:37:52 -07:00
Michael Koziarski
b5dfdc714f
Make sure the wrapped exceptions also have the original exception available.
...
[#2419 state:committed]
2009-06-26 17:01:21 +12:00
Michael Schuerig
00a5fd3d18
Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-06-26 16:52:55 +12:00
Michael Schuerig
53a3eaa860
Translate adapter errors that indicate a violated uniqueness constraint to ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-06-26 16:52:54 +12:00
Christos Zisopoulos
18a97a6601
Handle missing javascript/stylesheets assets by raising an exception
...
An exception will be raised if a local javascript/stylesheet file included
by the stylesheet_link_tag or javascript_include_tag can not be found.
When caching is enabled, we use atomic_write to ensure that the cache file
is not created with zero length.
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2738 state:committed]
2009-06-26 16:47:15 +12:00
Yehuda Katz + Carl Lerche
8ee60660ce
Try speeding up rails booting
2009-06-25 14:32:15 -07:00
Yehuda Katz + Carl Lerche
c117e8e848
Run the block passed to #run first when initializing
2009-06-25 14:32:15 -07:00
Joshua Peek
b598baf813
ignore absolute tmp directory
2009-06-25 14:52:58 -05:00
Joshua Peek
7837da41a3
send_data should set Content-Length as a string
2009-06-25 14:47:15 -05:00
Joshua Peek
7aa730440c
Remove deprecated implicit ivar assignment
2009-06-25 12:51:21 -05:00
Pratik Naik
97159fad6a
Missed file from the previous commit 92b229e125
2009-06-25 17:03:07 +01:00
Pratik Naik
92b229e125
Make performance tests work again
2009-06-25 17:02:04 +01:00
Yehuda Katz + Carl Lerche
3aad4d7fbe
Separate Rails module methods, the config object, and the initializer into separate files.
2009-06-23 16:10:43 -07:00
Yehuda Katz + Carl Lerche
ce9d9fda77
Resurrect threadsafe!
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
042bd0a5c8
Tests pass, AWDoR passes, and a fresh app boots.
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
9d398f4827
Got all the railties tests to pass, rails must boot!
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
30baaac546
Fix the default frameworks
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
9cfd1d4491
Get more tests to pass
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
f2aea4d3ea
Get initializer_test.rb to pass with the new initializer.
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
a3309e4d70
Started making progress on implementing a new initializer.
...
Class.any_instance.expects(:require).raises(LoadError)
... w0t
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
99b8248f6e
Initial initializer impl
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
805369c8c8
Starting to write the new initializer
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
1b844e4bf4
Passes in 1.9
2009-06-23 14:45:27 -07:00
Yehuda Katz
4417a19b03
Small changes to get 1.9 passing (for the most part)
2009-06-23 14:06:22 -07:00
Yehuda Katz + Carl Lerche
80f1f863cd
Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [ #2118 state:resolved]"
...
This reverts commit 4851ca9e13 .
The tests do not pass for postgresql.
2009-06-22 12:04:02 -07:00
Patrick Joyce
4851ca9e13
Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [ #2118 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 22:07:23 +01:00
Joseph Wilk
eb30e4ca40
Fixed a bug where create_table could not be called without a block [ #2221 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 19:51:32 +01:00
Brian Hogan
b26c2c11ab
Ensure table names are quoted while renaming for sqlite3 adapter [ #2272 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 18:24:19 +01:00
=?utf-8?q?Mislav=20Marohni=C4=87?=
21cd4c0e93
Fix polymorphic_path doesn't modify options hash [ #2099 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 17:53:07 +01:00
mattbauer
83c1934003
Ensure hm:t#create respects source associations hash conditions [ #2090 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 17:35:04 +01:00
Darragh Curran
9cb8c812f2
Add content_for?(:name) helper to check if content_for(:name) is present [ #1311 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-06-21 17:07:22 +01:00
Pratik Naik
66eb05821b
Use stubbing instead of sleep() in File store cache tests
2009-06-21 15:25:28 +01:00
Pratik Naik
b5775c2b3e
Add expiry support File cache store [ #1693 state:resolved] [Roman Shterenzon, Pratik Naik]
2009-06-21 15:25:28 +01:00
Yehuda Katz + Carl Lerche
9f7eaea201
Minor ActionView cleanup
2009-06-18 12:08:50 -07:00
Yehuda Katz + Carl Lerche
497554fd10
Fix typo
2009-06-18 11:14:44 -07:00
Jeremy Kemper
5267addd4f
Use errors[field] instead of errors.on(field)
2009-06-17 19:37:56 -07:00
Joshua Peek
fbdf706fff
Add basic JSON serializer to AMo
2009-06-17 21:27:54 -05:00
Joshua Peek
af5301089f
Add simple attribute implementation backed by ivars
2009-06-17 21:27:54 -05:00
Joshua Peek
d5d59230f4
Simplify AMo validation attribute reader
2009-06-17 21:27:54 -05:00
Yehuda Katz + Carl Lerche
b4a91db441
Extract the layout proc into a method, and write documentation explaining what the proc does in various cases.
2009-06-17 18:55:10 -07:00
Yehuda Katz + Carl Lerche
ca8f8fb031
Remove one more note about deprecated behavior
2009-06-17 18:15:41 -07:00
Yehuda Katz + Carl Lerche
a9ad763c86
Drive the final stake through @content_for_*'s heart!
2009-06-17 18:08:45 -07:00
Yehuda Katz + Carl Lerche
65102c8f1a
Cleaning up more tests and code that needed to work in both old and new base
2009-06-17 16:51:51 -07:00
Yehuda Katz + Carl Lerche
55ee0ba7f5
Cleaning up if defined?(ActionController::Http) blocks from the pre new base era.
2009-06-17 16:23:11 -07:00
Yehuda Katz + Carl Lerche
8fdf3d7890
Remove some defined?(Http) checks
2009-06-17 16:14:05 -07:00