Santiago Pastorino
0523b55ab9
file_field propagates up multipart property even inside of fields_for
2010-09-20 01:11:55 -07:00
Santiago Pastorino
88a82bcb2d
application.js should be the last file on javascript_include_tag(:all)
2010-09-19 14:41:32 -07:00
Thiago Pradi
3c9bf6e1dc
Exception handling more readable
...
[#5601 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-09-19 12:18:51 -07:00
Aaron Patterson
2d65ff5af7
removing some warnings
2010-09-18 14:14:46 -07:00
Aaron Patterson
6b50bfb0f0
freeze is not necessary
2010-09-18 14:03:29 -07:00
Aaron Patterson
38f6533792
argument error is done for us
2010-09-18 14:00:00 -07:00
Santiago Pastorino
b17b980a15
file_field makes the enclosing form multipart
2010-09-18 12:31:00 -07:00
Maxim Chernyak
20685d07ab
Fix header capitalization by explicitly upcasing first letter of every word, and avoiding capitalize. [ #5636 state:resolved]
2010-09-18 20:49:51 +02:00
Andrew White
0bffd7d933
Raise ArgumentError instead of normalizing controller name when there is a leading slash [ #5651 state:resolved]
2010-09-18 17:49:46 +01:00
Andrew White
013ed1c050
Remove leading slash from controller [ #5651 state:resolved]
2010-09-18 13:32:54 +01:00
Carl Lerche
5ff2b73b48
Small tweak the ConditionalGet documentation
...
Time#utc does not need to be called when passing the object to :last_modified since it is called internally to Rails.
2010-09-17 14:20:35 -07:00
Carl Lerche
7418a44096
Add RouteSet#append
...
Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn.
2010-09-17 12:05:40 -07:00
Xavier Noria
dd6efe98b6
Merge remote branch 'docrails/master'
2010-09-14 20:07:29 +02:00
Xavier Noria
0207bc7cc9
get csrf_meta_tag back to the generated layout in deference to existing printed material, chomp also the generated HTML to be faithful to the output before the refactor
2010-09-14 01:35:44 +02:00
Carlhuda
d8d8334a0b
Update changelog
2010-09-13 16:06:40 -07:00
wycats
254ab7d916
First pass at Rack::Cache
2010-09-13 16:06:03 -07:00
W. Andrew Loe III
9cd094b8da
Only send secure cookies over SSL.
2010-09-13 15:11:46 -07:00
Xavier Noria
0522b26cdf
reviews 02656ac
2010-09-13 23:10:43 +02:00
Xavier Noria
2eb5476d22
copy-edits 4eb8987
2010-09-13 22:54:42 +02:00
Carl Lerche
84d0c30cea
Allow view helper's #initialize method to be called. [ #5061 state:resolved]
2010-09-13 12:51:42 -07:00
Prem Sichanugrist
4eb89873c9
Add documentation for :spacer_template in Rails 3
...
This setting was existed since Rails 2.3.x, and seems like it have been left out when we rewriting the documentation.
2010-09-13 10:04:39 +07:00
Collin Miller
02656ac397
added documentation for :as and :object in PartialRenderer
...
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com >
2010-09-13 11:48:01 +10:00
Xavier Noria
9a8861f2e4
removes /i from the TRUSTED_PROXIES regexp, adds /x and comments for readability, adds a pointer to a Wikipedia section that documents the matched IPs
2010-09-12 01:37:07 +02:00
Collin Miller
96650f704a
added block arguments to ActionController::Metal#use
...
Useful for cases such as warden, where a block configuration is taken.
class SomeController < ApplicationController
use RailsWarden::Manager do |manager|
manager.default_strategies :facebook_oauth
manager.failure_app = SomeController.action(:authorize)
end
end
2010-09-12 07:35:54 +08:00
Xavier Noria
0aa66f04e4
gets rid of a double negation, no need to force exactly true/false in a predicate
2010-09-12 00:58:29 +02:00
Piotr Sarnacki
b3f6c41e16
Change singular to param_key in form_helper, param_key is now used for generating field names
...
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com >
2010-09-11 23:26:07 +10:00
Mikel Lindsaar
8b66c91c51
Partial revert of commit #7fae0aa4ac116 removing action_dispatch.prepare_dispatcher per commit #48bf667a8b1
...
See line note:
7fae0aa4ac (commitcomment-145148)
2010-09-11 20:45:40 +10:00
Xavier Noria
a87b92db7b
revises implementation and documentation of csrf_meta_tags, and aliases csrf_meta_tag to it for backwards compatibilty
2010-09-11 11:05:00 +02:00
wycats
f6153f74da
Merge remote branch 'drogus/engines'
2010-09-11 03:24:50 -05:00
Xavier Noria
2e2ac863d8
append asset IDs to the examples of the RDoc of #javascript_include_tag, and quick edit pass
2010-09-10 20:12:00 +02:00
Simon Jefford
7fae0aa4ac
Add configuration option for tld length
2010-09-09 18:26:35 -07:00
wycats
74b49e87bb
Simplify form_for by removing *args and extract_options! (at asakusa.rb)
2010-09-09 18:24:33 -07:00
Mikel Lindsaar
1a8d77d825
Adding linkage to redirect_to from Base and adding status code option reference
2010-09-09 14:05:06 +10:00
Piotr Sarnacki
6258f7c972
Change app to main_app in mounted_helpers
2010-09-08 19:27:59 +02:00
Piotr Sarnacki
18aee33335
Do not require passing :app to mounted helpers, it's actually useless and not DRY
2010-09-08 19:27:59 +02:00
David Trasbo
cfc8c7ab54
Wrap all occurences of <script> in a <tt> tag in docs [ #5537 state:committed]
2010-09-06 18:22:33 +02:00
Carlos Antonio da Silva
c915ddd386
Start cleanup of deprecations in ActionView
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-06 13:42:46 +02:00
Carlos Antonio da Silva
022fd876bb
Cleanup Action Dispatch assertions tests
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-06 13:42:11 +02:00
Carlos Antonio da Silva
9532d746a9
Cleanup deprecations in Action Dispatch
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-06 13:41:12 +02:00
Carlos Antonio da Silva
11fccc5f06
Cleanup deprecation warnings in Action Controller
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-06 13:40:45 +02:00
José Valim
8a3461b8c1
Remove a few tests from old router that do not make sense with the new one.
2010-09-05 15:59:35 +02:00
José Valim
9757bfff9b
Merge remote branch 'drogus/remove_deprecated_routes'
...
This merge removes the deprecated routes mapper from Rails and update its tests.
2010-09-05 15:45:12 +02:00
Santiago Pastorino
e20012b64b
Make number_to_human and number_with_precision work with negatives
2010-09-05 10:21:55 -03:00
Santiago Pastorino
d717ff9e52
Fix indentation errors
2010-09-05 10:07:37 -03:00
Santiago Pastorino
88dfe16d95
Fix code style a bit
2010-09-05 10:06:09 -03:00
Ben Sharpe
b80cf265be
Fix number_to_human(0) exception [ #5532 state:resolved]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-09-05 09:56:13 -03:00
Piotr Sarnacki
e909afccc9
Deleted test with extended regexp - it fails with no reason, probably rack-mount is doing something weird with that regexp
2010-09-05 13:44:39 +02:00
Łukasz Strzałkowski
5b550523b7
Fixed 2 broken tests for router.
...
They were broken after rebase/merge
2010-09-05 13:44:39 +02:00
Łukasz Strzałkowski
8f2c0bf1a0
This test is invalid for new router
2010-09-05 13:44:39 +02:00
Łukasz Strzałkowski
faba03850a
Removed deprecated_mapper - we don't need it anymore
2010-09-05 13:44:39 +02:00