Commit Graph

9835 Commits

Author SHA1 Message Date
Pratik Naik
8a336d01d2 Use super wherever possible in ActionController::Helpers#helper 2009-05-23 00:30:32 +02:00
Yehuda Katz + Carl Lerche
72a574b507 Get controller/layout_test.rb running on new base except for ActionController::Base.exempt_from_layout which is going to be deprecated. 2009-05-22 15:25:13 -07:00
Yehuda Katz + Carl Lerche
01129534cd Cleaned up the #render_to_body chain by extracting determining the templates to render to a separate hook point. 2009-05-22 15:24:31 -07:00
Pratik Naik
e976c489e6 Add all the existing helpers related features to the new base 2009-05-23 00:17:10 +02:00
Pratik Naik
1d168afcb1 Move FilterParameterLogging to a stand alone module and make it work on new base 2009-05-22 19:51:17 +02:00
Pratik Naik
faaff383e6 Add assert_select tests to the new base 2009-05-22 19:03:27 +02:00
Pratik Naik
9d08f86cd4 Make assertion tests pass with the new base 2009-05-22 19:01:52 +02:00
Pratik Naik
d1d9a6c261 Require ruby-debug from new_base/abstract_unit 2009-05-22 18:15:43 +02:00
Jeremy Kemper
1fa7e3322d Ruby 1.9 compat: don't rely on lexical scoping since the included block is called from dependency_module 2009-05-21 20:54:28 -07:00
Jeremy Kemper
4c52ba278b Move Safari response-padding fix to Rails2Compatibility. Should be a Rack concern. 2009-05-21 20:27:24 -07:00
Jeremy Kemper
8f3cbb4773 Dead local 2009-05-21 20:27:24 -07:00
Jeremy Kemper
e0e124757a Fewer runs by default 2009-05-21 20:27:24 -07:00
Yehuda Katz + Carl Lerche
68a207ccf6 Implemented layout conditions in new base 2009-05-21 18:14:20 -07:00
Yehuda Katz + Carl Lerche
6923b392b7 Added the :rjs render option 2009-05-21 16:35:40 -07:00
Yehuda Katz + Carl Lerche
e773d0e68a Renamed #implicit_render to #default_render in new base to support the default_render API 2009-05-21 16:31:05 -07:00
Pratik Naik
1a52b246eb Add HTTP Authentication to the new base 2009-05-22 00:29:47 +02:00
Pratik Naik
d2cac9dd0e Add missing dependency in Streaming 2009-05-22 00:27:08 +02:00
Yehuda Katz + Carl Lerche
9d3d774670 Update render options to remove performance implications of many render options types 2009-05-21 15:23:52 -07:00
Yehuda Katz + Carl Lerche
ad1c90de3a Added the :xml render option 2009-05-21 14:51:29 -07:00
Yehuda Katz + Carl Lerche
2daac47d58 Added the ability to register methods to handle specific render option keys and render :json 2009-05-21 14:36:00 -07:00
Yehuda Katz + Carl Lerche
e693f45e15 Remove some response content type concepts from ActionView 2009-05-21 14:34:56 -07:00
Pratik Naik
386ff66e5e Add Streaming to new base 2009-05-21 21:48:42 +02:00
Pratik Naik
59b32f2883 RequestForgeryProtection now works with the new base 2009-05-21 21:48:42 +02:00
Jeremy Kemper
886eeed52e Clean up tools/profile_requires a bit 2009-05-21 10:22:35 -07:00
Chad Woolley
0f1b283e03 Fix eager association test related to different ordering on sqlite
[#2686 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-05-21 10:01:47 -07:00
Jeremy Kemper
e9a7545123 Avoid uninitialized instance variable warning 2009-05-20 18:12:45 -07:00
Jeremy Kemper
428829fc38 Single-require forward compatibility with new Ruby features like Object#tap, Enumerable#group_by, and Process.daemon. Code with the latest but run anywhere. 2009-05-20 18:12:45 -07:00
Jeremy Kemper
886aa2f0e1 Extract autoloads 2009-05-20 18:12:45 -07:00
Jeremy Kemper
5f222c524e Remove 'core' fluff. Hookable ActiveSupport.load_all! 2009-05-20 18:12:44 -07:00
Jeremy Kemper
3694227f24 Break out Symbol#to_proc as a future-ruby extension 2009-05-20 18:12:44 -07:00
Jeremy Kemper
6839883854 Break up misc Object extensions 2009-05-20 18:12:44 -07:00
Jeremy Kemper
429a00f225 Remove bad add 2009-05-20 18:12:44 -07:00
Pratik Naik
5a03645762 Allow Module#depends_on to accept multiple modules 2009-05-21 03:04:17 +02:00
Pratik Naik
e21d1614bb Made ActionController::Verification work with new_base 2009-05-21 02:55:25 +02:00
Yehuda Katz + Carl Lerche
7f7fdc407a Make controller/content_type_test.rb pass on new base 2009-05-20 17:42:04 -07:00
Yehuda Katz + Carl Lerche
c8eda9ade4 Fixed new_base tests on ruby 1.9 2009-05-20 17:22:29 -07:00
Yehuda Katz + Carl Lerche
c4a6109286 Got controller/mime_responds_test.rb running on the new base 2009-05-20 16:54:21 -07:00
Pratik Naik
8e7a87d299 Make ActionController::Flash work with new_base 2009-05-21 01:41:35 +02:00
Jeremy Kemper
205cfe2163 Massage setup for old tests on new base 2009-05-20 16:23:55 -07:00
Jeremy Kemper
c86ec82cf6 Wrap string body in an array 2009-05-20 16:01:21 -07:00
Jeremy Kemper
b46c9071c3 Ruby 1.9 stdlib gems don't recognize .pre yet 2009-05-20 16:01:21 -07:00
Yehuda Katz + Carl Lerche
77d955c517 Added passing old tests on new base to the main test runner 2009-05-20 15:54:29 -07:00
Yehuda Katz + Carl Lerche
01f032f256 Added responds_to to new base. 2009-05-20 15:34:26 -07:00
Pratik Naik
c03b0ca7eb Replace the class level Rack::Test DSL with the regular integration tests DSL 2009-05-20 21:15:06 +02:00
Joshua Peek
6761759a90 Temporarily bundle rack-test while MockSession is baking 2009-05-19 22:43:22 -05:00
Bryan Helmkamp
df0faea378 Refactor ActionController instantiation capture 2009-05-19 22:43:21 -05:00
Bryan Helmkamp
0029d5e594 Integrating Rack::MockSession (from Rack::Test) 2009-05-19 22:43:21 -05:00
Yehuda Katz + Carl Lerche
321168b17b Make old caching tests pass on new base. 2009-05-19 18:11:45 -07:00
Yehuda Katz + Carl Lerche
67cc021d01 Modified caching implementation to work with NewBase 2009-05-19 18:11:45 -07:00
Yehuda Katz + Carl Lerche
0e7da0e4a0 Include caching module into new base 2009-05-19 18:11:44 -07:00