Joshua Peek
87bcf1aa15
Request#filter_parameters and filter_env
2010-01-20 09:55:58 -06:00
Pratik Naik
f7d94cdc6d
Fix AP's AR integration tests warning
2010-01-20 20:40:20 +05:30
Pratik Naik
1fb78e3ed8
Base.merge_conditions is no longer needed
2010-01-20 20:37:17 +05:30
Joshua Peek
909443eab6
Expose last controller in rack env["action_controller.instance"]
2010-01-20 09:00:23 -06:00
Santiago Pastorino
d1ffc54c06
fixes the failure of config.plugins without :all option tests [ #3718 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-20 15:02:13 +01:00
José Valim
6e26be6960
Move ActionController::Translation to AbstractController::Translation.
2010-01-20 15:02:13 +01:00
José Valim
8e2fd54b19
Bring normalize behavior to AbstractController::Rendering
2010-01-20 15:02:13 +01:00
Pratik Naik
8b9bfbe225
Dont delegate Relation#update to arel
2010-01-20 19:01:26 +05:30
Pratik Naik
f216fadc0e
Delegate delete_all to Relation
2010-01-20 18:33:14 +05:30
Pratik Naik
9756805676
Move destroy to Relation
2010-01-20 18:28:45 +05:30
Pratik Naik
223e2a2709
Remove Base.delete as it's same as Relation#delete
2010-01-20 18:24:36 +05:30
Pratik Naik
2493229674
Delegate exists? to Relation
2010-01-20 18:17:37 +05:30
Pratik Naik
8f0f02a166
Make Relation#destroy_all handle all the cases
2010-01-20 18:12:50 +05:30
Pratik Naik
8a1be22849
Use unscoped instead of with_exclusive_scope for preloading
2010-01-20 16:11:14 +05:30
Pratik Naik
5502780c69
Move array_of_strings? to Relation
2010-01-20 14:01:42 +05:30
Pratik Naik
394c05ed82
Remove stale methods constructing joins
2010-01-20 13:24:53 +05:30
Yehuda Katz
1a50d2e66a
Stop overriding LoadError.new to return a MissingSourceError (and sometimes nil!)
2010-01-19 22:35:26 -08:00
Joshua Peek
5ebfa62427
Revert streaming params parser support.
...
AS Xml and Json parsers expect the request body to be a real IO object
supporting methods like getc or ungetc which are not specified by the
Rack spec and aren't supported by Passenger or the Rewindable input
wrapper.
We can restore functionality if the AS parsers are rewritten to support
Racks subset of supported IO methods.
2010-01-19 22:56:38 -06:00
Joshua Peek
a5d06d05fb
Cleanup middleware introspection output
2010-01-19 22:56:37 -06:00
Pratik Naik
565b4cd3e0
Scope#find is no longer needed now that Relation#find handles all the cases
2010-01-20 03:40:37 +05:30
Pratik Naik
52ec4311f5
Delegate all finders to Relation
2010-01-20 03:35:25 +05:30
Pratik Naik
74e3539cda
Ignore order for simple calculations to make postgresql happy
2010-01-20 02:17:49 +05:30
José Valim
848d6cd46b
Mail should log when raise_delivery_methods is false.
2010-01-19 21:34:59 +01:00
Pratik Naik
d8c30723aa
Named scopes dont need count() now that Relation#count handles all the cases
2010-01-20 01:35:20 +05:30
Pratik Naik
1b78a3f8d5
with_scope no longer needs :reverse_merge
2010-01-20 01:29:18 +05:30
Pratik Naik
42553a98ea
Remove find_with_associations and related code from associations now that Relation handles that stuff
2010-01-20 01:20:20 +05:30
Prem Sichanugrist
6e62e89737
Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset when hour < 0 and not in hundreds [ #3741 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-19 20:31:33 +01:00
José Valim
d2759d125a
Avoid load tasks from plugins recursively (so stuff in tests or vendor does not get loaded).
2010-01-19 20:07:50 +01:00
José Valim
4ca9765088
Allow railties to specify generators paths.
2010-01-19 19:59:08 +01:00
Pratik Naik
9acf0af544
Remove Relation#where_clause
2010-01-19 23:11:54 +05:30
Pratik Naik
dbce07b81d
Give preference to to_a over arel from Relation#method_missing
2010-01-19 22:52:08 +05:30
Pratik Naik
9465b84b54
Rename CalculationMethods to Calculations and get rid of the old Calculations module
2010-01-19 22:17:33 +05:30
Pratik Naik
8f63dcb648
Move the only remaining calculation method calculate() to Relation
2010-01-19 22:17:33 +05:30
José Valim
fef5afa962
Get rid of RAILS_ROOT deprecation on AM::TestCase.
2010-01-19 16:13:27 +01:00
José Valim
e8e8da5c85
Logging thread should not die on logging errors.
2010-01-19 16:13:27 +01:00
Pratik Naik
ec63fdcff3
Get rid of construct_count_options_from_args
2010-01-19 20:43:03 +05:30
Pratik Naik
73b179eb68
Delegate count to Relation
2010-01-19 20:37:12 +05:30
Joshua Peek
88ffba2329
Disable ShowExceptions during integration tests
2010-01-19 09:06:21 -06:00
José Valim
a8e25a518a
Move parameters to the top on logging.
2010-01-19 15:35:24 +01:00
José Valim
5a81dbf489
Fix failing test.
2010-01-19 15:35:23 +01:00
José Valim
4e2852a487
Do not send rack.input or any other rack information to AD listeners.
2010-01-19 15:35:23 +01:00
Joshua Peek
bec5356f25
Define named routes for other non-GET REST actions
2010-01-19 08:23:23 -06:00
Pratik Naik
9c7c7104f6
Fix the named scope equality check
2010-01-19 17:45:48 +05:30
Pratik Naik
4148c686ec
Delegate :average, :minimum, :maximum, :sum to Relation
2010-01-19 15:50:47 +05:30
Pratik Naik
ed8501ef16
Fix DoubleRenderError error message
2010-01-19 15:23:56 +05:30
Pratik Naik
b9599502c9
Add Relation#construct_relation_for_association_calculations for calculations with includes
2010-01-19 15:22:09 +05:30
Joshua Peek
71d67fc6bd
Prettier hash dump
2010-01-18 21:22:09 -06:00
Joshua Peek
5579de5bab
Show Rack env dump on exception page
2010-01-18 21:12:17 -06:00
José Valim
f00cbf7872
Bring render_message back for 2.3 compatibility.
2010-01-19 01:36:07 +01:00
José Valim
a0374582ff
Bring body(Hash) behavior back.
2010-01-19 01:36:07 +01:00