misfo
7706b57034
allowed render :file to take Pathnames [ #2220 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-14 10:42:02 -05:00
Mike Gunderloy
07710fd3e0
Fix requirements for additional member/collection routes [ #2054 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-14 10:06:00 -05:00
Joshua Peek
5b025a1d11
Revert 5b7527ca "Failing test for routes with member & requirement" [ #2054 state:wontfix]
2009-03-13 17:13:18 -05:00
Joshua Peek
eced3d8c55
Update rack to fix multipart uploads with an empty file [ #1945 state:resolved]
2009-03-13 17:13:10 -05:00
Mike Gunderloy
d771e7d17f
Handle irregular plurals in polymorphic_urls [ #2212 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-12 17:02:07 +00:00
Donald Parish
be7b64b35a
Support MD5 passwords for Digest auth and use session_options[:secret] in nonce [ #2209 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-12 13:24:54 +00:00
Mislav Marohnić
fa45540cdb
Ensure correct content type is declared after cache hits on actions with string cache keys [ #1585 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 23:31:19 +00:00
Eugene Pimenov
bdfa733d04
Ensure auto_link doesnt linkify URLs in the middle of a tag [ #1523 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 16:52:21 +00:00
Joshua Peek
224a534400
reset_session should force a new session id to be generated [ #2173 ]
2009-03-09 22:46:03 -05:00
Andrew Bloom
90dba00822
Ensure blank path_prefix works as expected [ #2122 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-09 15:27:13 +00:00
rpheath
1ab2ff58ed
Fixed number_to_phone to work with 7 digit numbers [ #2176 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-09 12:53:44 +00:00
Jeremy Kemper
1c36172c13
Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.
...
[#1617 state:resolved]
2009-03-08 13:11:58 -07:00
Yury Kotlyarov
9b8cde41bc
Remove duplicate test [ #2136 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-08 15:50:38 +00:00
Mike Gunderloy
5e0f6214d2
Support OPTIONS verb in route conditions [ #1727 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-08 12:37:17 +00:00
Tom Stuart
5c87e9addd
Ensure shallow routes respects namespace [ #1356 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-07 22:50:58 +00:00
Joshua Peek
ea8488caef
Fixed simplified render with nested models [ #2042 state:resolved]
2009-03-07 14:05:18 -06:00
Matt Jones
87e8b16246
fix HTML fallback for explicit templates [ #2052 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-07 13:32:46 -06:00
Lawrence Pit
77f7d98e38
submit_tag with confirmation and disable_with [ #660 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-07 13:29:35 -06:00
Dan Barry
45494580d9
Ensure Active Record error related view helpers escape the message [ #1280 state:resolved] [Inge Jørgensen, Dan Barry]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-07 18:55:19 +00:00
Pratik Naik
272c2d2e9c
Ensure assert_select works with XML namespaced attributes [ #1547 state:resolved] [Jon Yurek]
2009-03-07 16:13:34 +00:00
Johan Sørensen
c071123b3e
Ensure expires_in without a :public key sets the Cache-Control header to private. [ #2095 state:resolved]
...
This fixes a regression introduced in f2a32bd0 , which wasn't exposed due to two
test methods having the same name.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-07 12:18:10 +00:00
thedarkone
3191535ff0
Fix layouts with absolute paths [ #2134 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-05 18:49:22 -06:00
Mike Gunderloy
5b7527ca44
Failing test for routes with member & requirement [ #2054 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-05 18:46:59 -06:00
Joshua Peek
638b3b15a1
Generating routes with optional format segment does not inherit params format [ #2043 state:resolved]
2009-03-04 14:37:59 -06:00
Mike Gunderloy
ce56c5daa8
Allow routes with a trailing slash to be recognized
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#2039 state:committed]
2009-03-04 14:27:39 +13:00
Joshua Peek
9b1b88f09c
Fixed reset_session for ActiveRecord session store [ #2108 state:resolved]
2009-03-03 13:07:03 -06:00
Mike Gunderloy
dcd9c7f58e
Fix spelling in test name.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-28 15:35:03 +00:00
Gregg Pollack
f2a32bd0de
Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable [ #2095 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-28 10:33:42 +01:00
Eloy Duran
3d1d422b8b
Pass a custom form builder on to nested fields_for calls. [ #2023 status:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-27 13:56:27 +01:00
Joshua Peek
92a30b0c88
missed template fixtures with ~
2009-02-24 11:36:58 -06:00
thedarkone
85df4841dd
Template without a known template handler should only be reachable through its exact path. [ #2027 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-24 10:41:45 -06:00
Matt Jones
b35562f432
correctly handle layouts for AJAX requests and regular js files [ #2052 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-24 10:38:07 -06:00
Jeremy Kemper
57cca81cae
Don't depend on project.developers ordering
2009-02-21 21:17:17 -08:00
moro
b6c8379834
Expected cookie value should also be escaped.
...
Ruby 1.9 compat for test.
[#1965 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-21 21:11:50 -08:00
Andrew White
3248553d32
Fix requirements regexp for path segments
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1772 state:committed]
2009-02-22 15:35:22 +13:00
Andrew White
f7a0a394f4
Remove hardcoded number_of_capturesin ControllerSegment to allow regexp requirements with capturing parentheses
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1887 state:committed]
2009-02-22 15:34:01 +13:00
moro
bfe7d518a7
fix test data, should specify encoding to use multibyte chars on Ruby 1.9
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-20 18:25:19 -08:00
Sven Fuchs
8c5cc66a83
make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [ #1974 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-20 14:19:45 -06:00
Joshua Peek
69c049f5ab
Move development mode reloading up the stack to avoid issues with class reloading in middleware
2009-02-20 12:04:57 -06:00
Sven Fuchs
53fe301a42
Lazy evaluate middleware arguments [ #2028 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-20 10:50:21 -06:00
Joshua Peek
9702636a08
Lazy evaluate ActionController session store middleware class to pickup custom plugin session stores [ #2001 state:resolved]
2009-02-19 21:21:34 -06:00
Joshua Peek
f8ea9f85d4
Fix templates reloading in development when using custom view path [ #2012 state:resolved]
2009-02-19 20:55:56 -06:00
Donald Parish
86d8f92282
Fixed http digest authentication to use credentials URI passed from client. [ #1848 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-16 20:20:23 +01:00
Tekin Suleyman
1525f3816e
Enhanced form option helpers to add support for disabled option tags and use of anonymous functions for specifying selected and disabled values from collections.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-02-14 14:51:35 +13:00
Tekin Suleyman
d206b80a36
DRY up form option helper tests
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2009-02-14 14:51:35 +13:00
Sam Oliver
f04346d8b9
Stops date select helpers from defaulting the selected date to today if :prompt option has been used
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#561 state:resolved]
2009-02-13 22:04:27 +13:00
Lance Ivy
5dbc9d40a4
Changed API of NestedAttributes to take an array, or hash with index keys, of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com >
[#1892 state:committed]
2009-02-13 21:47:56 +13:00
thedarkone
3942cb406e
Port fast reloadable templates from rails-dev-boost.
2009-02-12 13:04:12 -06:00
Mike Gunderloy
b1d41bdfb0
Remove space from the test name [ #1953 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-12 17:47:52 +01:00
Joshua Peek
f400209084
Move checkbox hidden field before the actual checkbox so the actual value doesn't get clobbered [ #1863 state:resolved]
2009-02-10 13:10:46 -06:00