Jeremy Kemper
061b0ba6cb
Refine the deprecated route check to explicitly check whether the future route pick comes before the deprecated route that was found.
2009-08-15 15:53:45 -07:00
Jeremy Kemper
6f5d1f3190
'would of' => 'will be'
2009-08-11 01:25:15 -05:00
Hongli Lai (Phusion)
a91969803e
Correctly unlock the reloader lock if the underlying app raises an exception.
...
[#2873 state:incomplete]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-10 16:18:35 -05:00
codeape
9a42096e95
Introduce grouped_collection_select helper.
...
[#1249 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-10 00:00:02 -07:00
José Valim
e972acc0d7
Allow radio buttons to work with booleans.
...
[#2937 state:committed]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 22:15:35 -07:00
Joshua Peek
ff643ce967
Deprecate router generation "best match" sorting
2009-08-09 22:52:14 -05:00
Max Lapshin
9e29c084eb
Make sure link_to generates the form with the specified :href if any [ #2254 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-10 01:00:07 +01:00
Matt Duncan
ba961250bd
Fixed to_label_tag to accept id attribute without changing for attribute [ #2660 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2009-08-09 23:56:06 +01:00
Hugo Peixoto
39de15f136
Added both the documentation and a test case for the collection path name customization feature.
...
[#1218 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-09 14:27:04 -07:00
Bence Nagy
250e718355
path_names could be used to customize collection actions too
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-09 14:27:04 -07:00
Jeremy Kemper
d44b5c6219
Fix that RedCloth shouldn't be required to run tests
2009-08-09 11:02:45 -07:00
Simon Jefford
c41fb5865f
Add test for routes_for_controller_and_action deprecation [ #3023 ]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 18:26:22 +01:00
Dan Croak
8058a1d7d7
Deprecation warning for routes_for_controller_and_action. Use routes_for instead. [ #3023 ]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 18:01:54 +01:00
rizwanreza
d1202cfeb2
Support passing Redcloth options via textilize helper [ #2973 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 16:42:50 +01:00
José Valim
2d2216fadb
Make http digest work with different server/browser combinations. [ #3006 status:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 16:11:27 +01:00
Yehuda Katz
ee8fe3ae4e
Update bench harness in 2.3 to match master output
2009-08-09 05:45:44 -03:00
Yehuda Katz
3cad1df22e
Benchmarks
2009-08-09 05:45:44 -03:00
Yehuda Katz
7d40ba1cbf
Added benchmark to 2-3
2009-08-09 05:45:44 -03:00
Michael Koziarski
796b7c6ce6
Don't call additional methods on builders passed to the atom_feed helper.
...
Additionally, actually test that the atom_feed helper works with :xml as an option.
[#1836 state:committed]
2009-08-09 13:09:24 +12:00
Jan Schwenzien
389449d9ae
Fix HTTP basic authentication for long credentials [ #2572 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-08-09 01:28:07 +01:00
Nick Quaranto and Josh Nichols
d39c45690e
Adding a deprecation warning for output.flush when rendering a proc or lambda
...
[#2893 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-08 17:23:40 -07:00
Steve St. Martin
679a0bf17f
Update truncate documentation / examples to more clearly demonstrate its actual behavior
...
[#3016 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-08 17:13:15 -07:00
Jeremy Kemper
ab6d295ce4
Fix caller in assert_redirected_to deprecation warning.
...
[#2932 state:committed]
2009-08-08 14:45:45 -07:00
Michael Koziarski
95db8aaa5f
Run the view tests too
2009-08-05 18:42:56 +12:00
Jeremy Kemper
6cbcfffeb1
Ruby 1.9: fix reloader tests using lambdas with no env arg
2009-08-01 20:18:22 -07:00
Jeremy Kemper
f09ceb55c0
Ruby 1.9: fix encoding for test_file_stream
2009-08-01 20:17:30 -07:00
Sava Chankov
dc559f274f
Ruby 1.9: fix Content-Length for multibyte send_data streaming
...
[#2661 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-01 20:07:12 -07:00
Hongli Lai (Phusion)
d37ac7958f
Make the new code reloading behavior work with multithreaded environments such as Mongrel.
...
[#2948 state:incomplete]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-01 13:25:38 -07:00
Ross Kaffenburger and Bryan Helmkamp
523f3ba8da
Don't check authenticity tokens for any AJAX requests
2009-07-27 23:15:35 +01:00
Sebastian Delmont
ead5d88bf1
Fix filter_parameter_logging of non-hash values within array params
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2927 state:committed]
2009-07-23 09:33:29 +12:00
Michael Koziarski
143c55d325
Memoize cookies so that updates to cookies are available in the current request. [ #2733 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
Conflicts:
actionpack/test/controller/cookie_test.rb
2009-07-22 09:46:53 +12:00
Michael Koziarski
a147becfb8
Move from referencing the BlueCloth constant directly, to referencing Markdown.
...
This supports alternative implementations of markdown such as rpeg-markdown or rdiscount, and later releases of bluecloth. There are some performance issues with earlier releases of bluecloth, and you should probably upgrade. In the event that you can't you can place the following code into an initializer:
Markdown = BlueCloth
2009-07-16 13:30:47 +12:00
Joshua Peek
ae85927ea8
Correctly setup the rack gem dependency.
2009-07-12 19:31:41 -05:00
Joshua Peek
f36d9a6758
Go back to depending on Rack 1.0.x gem
2009-07-12 19:28:04 -05:00
Michael Koziarski
18e68d9524
Prepare version numbers, changelogs and gem dependencies for 2.3.3.
2009-07-12 15:43:39 +12:00
Michael Koziarski
6a50d6c8e3
Match tests with new reloading behaviour
2009-07-08 17:30:33 +12:00
Hongli Lai (Phusion)
bc2c4a4595
Cleanup application after #close has been called on the Rack response body, not when AC::Reload#call is done.
...
The Rack body might lazily evaluate its output, which is for example the case
if one calls 'render :text => lambda { ... }'. The code which lazily evaluates
the output might use other application classes. So we will want to defer
cleanup until the Rack request is completely finished.
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-07-08 13:46:10 +12:00
Hongli Lai (Phusion)
31254bedae
Mocha >= 0.9.7 is required, otherwise mocking doesn't work. [ #2874 state:resolved]
...
Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local >
2009-07-07 16:14:22 -07:00
Jesús García Sáez
6673001a5e
Allow symbols on routes declaration (:controller and :action values) [ #2828 state:resolved]
...
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com >
2009-07-02 12:19:38 -07:00
Jarl Friis
1c855ad4e7
My suggestion to fix ticket 2401 [ #2401 state:resolved]
...
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com >
2009-07-02 11:56:56 -07:00
Yehuda Katz + Carl Lerche
281c1a82de
Fixes a number of tests that inexplicably didn't fail when we committed the original patch
2009-07-02 10:50:39 -07:00
Elliot Winkler
0d3c5f0a82
Patch FormTagHelper so that when a form tag is created, the div which holds the form authenticity token is set to display:inline [ #2846 state:resolved]
...
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com >
2009-07-01 17:12:45 -07:00
Yehuda Katz + Carl Lerche
e10305f0f4
Accept Symbol for contoller name [ #2855 state:resolved]
...
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com >
2009-07-01 11:51:09 -07:00
Chris Mear
eb52dc3db7
Make text_area_tag escape contents by default.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-06-27 13:15:53 +12:00
Michael Koziarski
9407f6e9a4
Make filter_parameters work correctly with array parameters.
...
Conflicts:
actionpack/lib/action_controller/base/filter_parameter_logging.rb
2009-06-27 13:11:01 +12:00
Joshua Peek
6720b25b2d
send_data should set Content-Length as a string
2009-06-25 14:44:09 -05:00
Joshua Peek
a491b19502
Add :concat option to asset tag helpers to force concatenation.
...
This is useful for working around IE's stylesheet limit.
stylesheet_link_tag :all, :concat => true
2009-06-15 10:23:55 -05:00
Joshua Peek
25fde77674
Vendor rack 1.0.x stable
2009-06-11 19:39:21 -05:00
Andrew Kaspick
d3d4822262
allow absolute paths for the asset caches
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-06-11 16:33:01 +12:00
Jeremy Kemper
7e1bcef985
Remove dead AbstractRequest autoload
2009-06-09 23:51:04 -07:00