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
Pratik Naik
53cd102b39
Merge with docrails
2009-02-24 12:29:25 +00:00
Jeremy Kemper
e56b3e4c0b
Update bundled memcache-client from 1.5.0.5 to 1.6.4.99.
...
See http://www.mikeperham.com/2009/02/15/memcache-client-performance/
2009-02-23 19:28:01 -08:00
David Heinemeier Hansson
45787bdd0e
Fix docs
2009-02-23 12:20:37 +01:00
David Heinemeier Hansson
d13623ca46
Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for batch processing [DHH/Jamis Buck]
2009-02-23 12:11:02 +01:00
Sven Fuchs
441e4e2235
load plugin view_paths to action_mailer view_paths and make action_mailer use them [ #2031 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-22 10:39:56 -06:00
Guillermo Álvarez
ff1afbd650
Deprecated warnings for :skip_last_command and :connector of to_sentence [ #1847 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-22 16:11:40 +01:00
David Heinemeier Hansson
b61cad6ae1
Ensure that the app routes file is loaded even when engines are in play (Thjis) [ #1970 state:committed]
2009-02-22 16:04:04 +01: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
Michael Koziarski
06040849b5
Revert "Wrap calls to update_attributes in a transaction."
...
This caused failures on sqlite, sqlite3 and postgresql
This reverts commit fc09ebc669 .
[#922 state:reopened]
2009-02-22 16:41:04 +13: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
Xavier Noria
fc09ebc669
Wrap calls to update_attributes in a transaction.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#922 state:committed]
2009-02-22 15:31:27 +13:00
Jeremy Kemper
f4391c362d
Update changelog for URI.unescape fix
...
[#2033 state:committed]
2009-02-20 18:41:42 -08:00
Jeremy Kemper
69bbbe9068
Broaden URI.unescape fix to all affected 1.9.x by checking for broken behavior instead of specific patchlevel
2009-02-20 18:38:18 -08: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
Jeremy Kemper
98ddc64782
URI.unescape fix removes the old unescape method
2009-02-20 18:25:02 -08:00
moro
3b3dbd7973
Ruby 1.9.1p0's URI.decode() bug fix
...
backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005].
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-20 18:18:39 -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
Matt Jones
01c818e99f
break out of initializer early if gems aren't loaded [ #1750 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-20 14:16:07 -06:00
thedarkone
6bf9b69bde
Fix a failing mailer test.
2009-02-20 12:08:05 -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
Bruno Duyé
3668a64170
Make atomic_write() puts the check_file in the cache dir, not in application
...
root [#1962 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-19 21:01:18 -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
Akira Matsuda
7c0e008973
Ruby 1.9 compat: fix JSON decoding to work properly with multibyte values
...
[#1969 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-17 11:58:53 -08:00
Joshua Peek
b6e56efe07
Special case in deprecated CGI proxy layer for Mongrel CGI cookies [ #1957 state:resolved]
2009-02-16 22:17:54 -06:00
Joshua Peek
c33ab118f8
Properly skip fcgi tests if the gem is not installed
2009-02-16 15:12:28 -06:00
Joshua Peek
460269dcaf
Autoload ActionController::Caching::Sweeper constant [ #1977 state:resolved]
2009-02-16 14:37:42 -06:00
Joshua Peek
0096eb1555
Removed dead convert_expires! in Response [ #1952 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-16 14:18:06 -06:00
unknown
2414fdb244
Ensure template_runner can run script/* ruby scripts under Windows. [ #1859 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-02-16 20:22:02 +01: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
Joshua Peek
238a6bb62d
Update bundled rack to fix more parameter parsing issues
2009-02-14 18:23:08 -06:00
Sven Fuchs
0cb020b4d6
workaround for picking layouts based on wrong view_paths [ #1974 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-14 18:22:41 -06:00
Levin Alexander
b91d98011c
Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in ActiveSupport [ #1914 state:resolved]
2009-02-14 12:22:39 -06:00
Tekin Suleyman
d676a7f18a
Updated rdoc to reflect changes to form option helpers
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#837 state:committed]
2009-02-14 14:51:40 +13: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
Oshoma Momoh
a650852757
Fix loader's LoadError exception message to mention missing plugins and omit loaded plugins.
...
Prior to this change the LoadError message listed all plugins if any one of them was missing.
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1921 state:committed]
2009-02-13 21:40:30 +13:00
Pat Nakajima
0c95644396
Changed scaffold generated controller tests to use #to_param.
...
Before, the generated controller tests were calling #id, which
can change over time, making for brittle tests.
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1913 state:committed]
2009-02-13 21:37:03 +13:00
Joshua Sierles
11b4a6d74d
Allow memcache-client versions > 1.5.x to override bundled version
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-02-12 13:16:27 -06: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
Jiri Zajpt
7ed2e6c463
Adding inflection of databases (usually we wouldn't amend the current defaults, but this seems to obvious) [ #1942 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2009-02-12 14:31:27 +01:00
Will Bryant
1a2a71333f
Array#wrap should use #to_ary so association collections and named scopes are not re-wrapped
...
[#1935 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-02-10 18:03:33 -08:00