Michael Koziarski
|
60be4b09f5
|
Merge branch 'master' into custom_paths_for_resource_names
|
2008-04-12 12:40:51 +12:00 |
|
Michael Koziarski
|
063c393bf0
|
Allow alternative values for the 'new' and 'edit' actions in resourceful routes.
map.resource :schools, :as => 'escuelas', :path_names => { :new => 'nueva' }
Closes #11181. [ivanvr]
|
2008-04-12 12:40:40 +12:00 |
|
Jeremy Kemper
|
13e7849785
|
Ruby 1.9 compat: workaround module_eval issue
|
2008-04-11 16:46:46 -07:00 |
|
David Heinemeier Hansson
|
e89093aeb4
|
Fixed that formatted_polymorphic_route should be able to take the :format as part of a single hash or as the option hash (references #8741)
|
2008-04-11 12:34:44 -05:00 |
|
Rick Olson
|
4d594cffcf
|
Automatically parse posted JSON content for Mime::JSON requests. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-08 05:05:54 +00:00 |
|
Josh Peek
|
917423d664
|
Provide a helper proxy to access helper methods from outside views. Closes #10839 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-06 18:42:34 +00:00 |
|
Pratik Naik
|
aa4af60aad
|
Improve documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-05 03:52:58 +00:00 |
|
Josh Peek
|
08318b8bcd
|
Replaced callback method evaluation in AssociationCollection class to use ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-04 20:26:42 +00:00 |
|
Jeremy Kemper
|
30fa377f33
|
Ruby 1.9 compat: encoding and multibyte test fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 07:39:04 +00:00 |
|
Jeremy Kemper
|
09ca8a6701
|
Ruby 1.9 compat: don't confuse with headers method call
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 06:11:40 +00:00 |
|
David Heinemeier Hansson
|
3e73278020
|
Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 18:45:39 +00:00 |
|
Jeremy Kemper
|
a61b63d420
|
Avoid remote_ip spoofing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:38:01 +00:00 |
|
Jeremy Kemper
|
18049864cb
|
Inspect options hashes in RenderError message so it's actually readable. Closes #11435 [court3nay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 21:23:28 +00:00 |
|
David Heinemeier Hansson
|
db3a60eb92
|
Added support for regexp flags like ignoring case in the :requirements part of routes declarations (closes #11421) [NeilW]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:01:21 +00:00 |
|
David Heinemeier Hansson
|
388e5d3fac
|
Fixed that ActionController::Base#read_multipart would fail if boundary was exactly 10240 bytes (closes #10886) [ariejan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:55:31 +00:00 |
|
David Heinemeier Hansson
|
c57254d449
|
Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA tags (closes #10071) [esad, packagethief]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 19:45:32 +00:00 |
|
Pratik Naik
|
ca9413674e
|
Improve documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 12:27:52 +00:00 |
|
Rick Olson
|
0381398708
|
Fix regression from filter refactoring where re-adding a skipped filter resulted in it being called twice. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-23 01:48:17 +00:00 |
|
Jeremy Kemper
|
f2840f508d
|
Fix an edge case with extra periods in Routing.normalize_paths. Closes #11337 [cavalle, veejar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-21 22:44:04 +00:00 |
|
Jeremy Kemper
|
eb837b52e3
|
assert_response, don't cry if @exception isn't available in the template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-18 23:37:55 +00:00 |
|
Jeremy Kemper
|
856a4dcf12
|
Refactor filters to use Active Support callbacks. Closes #11235.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-18 17:56:05 +00:00 |
|
David Heinemeier Hansson
|
db08329946
|
Fixed that polymorphic routes would modify the input array (closes #11363) [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-17 23:45:42 +00:00 |
|
David Heinemeier Hansson
|
7145c29be3
|
Docfix (closes #11249) [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 20:03:32 +00:00 |
|
David Heinemeier Hansson
|
b2dd357d22
|
Fixed that cache fetch method would cause nil exception when called with no options (closes #11253) [remy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-15 20:02:46 +00:00 |
|
Rick Olson
|
1e0ac3a673
|
Fix more obscure nested parameter hash parsing bug. Closes #10797 [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-13 03:22:25 +00:00 |
|
Rick Olson
|
3a17ea9031
|
Fix nested parameter hash parsing bug. #10797 [thomas.lee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-11 07:46:39 +00:00 |
|
Pratik Naik
|
cff3ecc2ae
|
Allow using named routes in ActionController::TestCase before any request has been made. Closes #11273 [alloy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-08 12:56:41 +00:00 |
|
David Heinemeier Hansson
|
363a6f5de6
|
Fixed that sweepers defined by cache_sweeper will be added regardless of the perform_caching setting. Instead, control whether the sweeper should be run with the perform_caching setting. This makes testing easier when you want to turn perform_caching on/off [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-08 01:05:53 +00:00 |
|
Pratik Naik
|
011e469410
|
Make MimeResponds::Responder#any work without explicit types. Closes #11140 [jaw6]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-07 11:17:05 +00:00 |
|
Rick Olson
|
867063134f
|
Better error message for type conflicts when parsing params. Closes #7962 [spicycode, matt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-07 01:23:12 +00:00 |
|
Pratik Naik
|
d7627361d3
|
Remove unused ActionController::Base.template_class. Closes #10787
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 12:12:17 +00:00 |
|
Pratik Naik
|
be62024c25
|
Documenation for has_one/has_many nested resource options. Closes #11195 [miloops]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 10:52:22 +00:00 |
|
Pratik Naik
|
a96272a0c5
|
Moved template handlers related code from ActionView::Base to ActionView::Template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-05 02:03:24 +00:00 |
|
Michael Koziarski
|
cc5a957d2b
|
Allow file uploads in Integration Tests. Closes #11091 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-03 06:42:24 +00:00 |
|
Michael Koziarski
|
fa4d5f2dc1
|
Use realtime to reduce garbage. [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-29 23:17:52 +00:00 |
|
Michael Koziarski
|
db4f421b0b
|
Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:42:06 +00:00 |
|
Michael Koziarski
|
46356100d1
|
Make sure render :update support the options hash. Closes #11088 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 22:42:36 +00:00 |
|
Jamis Buck
|
11787b802a
|
remove support for ampersand-delimited cookie values
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 21:45:39 +00:00 |
|
David Heinemeier Hansson
|
56d0e33037
|
Added support for naming concrete classes in sweeper declarations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 22:50:49 +00:00 |
|
Rick Olson
|
4a9fc4424f
|
Remove ERB trim variables from trace template in case ActionView::Base.erb_trim_mode is changed in the application. Closes #10098 [tpope, kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 17:06:53 +00:00 |
|
Rick Olson
|
8e6638afa4
|
Fix bug with setting Request#format= after the getter has cached the value. Closes #10889 [cch1]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 16:46:50 +00:00 |
|
Rick Olson
|
13264afb12
|
Correct inconsistencies in RequestForgeryProtection docs. #11032 [mislav]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 18:50:48 +00:00 |
|
Michael Koziarski
|
692dbbf793
|
Introduce a Template class to ActionView. Closes #11024 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 04:26:40 +00:00 |
|
Jeremy Kemper
|
53eca3abc8
|
Add --measure option to script/performance/request to set ruby-prof measure mode: process_time, wall_time, cpu_time, allocations, memory.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 12:11:12 +00:00 |
|
Jeremy Kemper
|
fadaba679a
|
Introduce map.resources :cards, :as => 'tarjetas' to use a custom resource name in the URL: cards_path == '/tarjetas'. Closes #10578.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 05:57:16 +00:00 |
|
Jeremy Kemper
|
9e1d91c24b
|
TestSession supports indifferent access. Closes #7372.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 05:32:44 +00:00 |
|
Jeremy Kemper
|
b84a33ddd1
|
Don't split cookies on comma also. References r8505.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 02:55:44 +00:00 |
|
Michael Koziarski
|
05707a436b
|
Make the non inferrable controller message a little friendlier. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 01:32:28 +00:00 |
|
Michael Koziarski
|
900d6d7bd2
|
Make assert_routing aware of the HTTP method used. Closes #8039 [mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 01:25:44 +00:00 |
|
Michael Koziarski
|
f11904ad6d
|
Add documentation for polymorphic URL helpers, make API consistent for polymorphic_path and polymorphic_url.
Closes #10883 [mislav] Closes #8782 [gbuesing] Closes #8720 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:18:47 +00:00 |
|