Krekoten' Marjan
|
366e7854ac
|
Refactor to handle the X-Cascade without having to raise an exception
|
2011-01-09 16:08:54 -08:00 |
|
Santiago Pastorino
|
171172f324
|
render :template is faster than render :file
|
2011-01-01 13:44:34 -02:00 |
|
Santiago Pastorino
|
9bc879d42a
|
This is not needed anymore
|
2011-01-01 13:20:00 -02:00 |
|
José Valim
|
d6efd3cfc2
|
Don't deprecate to_prepare.
|
2010-12-23 19:21:14 +01:00 |
|
José Valim
|
819b8cae40
|
Clean up callbacks should also be called on exceptions.
|
2010-12-23 19:17:02 +01:00 |
|
John Firebaugh
|
0b0e6f13c0
|
Typo (request -> response)
|
2010-12-21 19:32:34 -08:00 |
|
John Firebaugh
|
d4afde9ab0
|
Expand ActionDispatch::Reloader docs
|
2010-12-21 19:26:33 -08:00 |
|
José Valim
|
0cbfd6c28d
|
Small changes on AD::Reloader.
|
2010-12-20 12:43:02 +01:00 |
|
John Firebaugh
|
435bccda93
|
Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-20 12:43:02 +01:00 |
|
John Firebaugh
|
0f7c970e4f
|
Introduce ActionDispatch::Reloader
Based on the implementation on the 2-3-stable branch, patches by Hongli
Lai <hongli@phusion.nl>, and helpful suggestions from José Valim.
Hongli Lai's patches included locking around the request cycle; this is
now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/).
[#2873]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-20 12:43:02 +01:00 |
|
Aaron Patterson
|
5008d33eee
|
dry up case / when statement
|
2010-12-17 11:31:15 -08:00 |
|
brainopia
|
ebc47465a5
|
Fix edge cases for domain :all option on cookie store
Dont set explicit domain for cookies if host is not a domain name
[#6002 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-12-16 01:49:30 +05:30 |
|
Ryan Bigg
|
a81f68e879
|
Fix indentation on the namespace method's documentation
|
2010-12-13 13:03:41 +10:00 |
|
Ryan Bigg
|
751733ab96
|
Provide an example for ActionDispatch::Routing::Mapper#scope
|
2010-12-11 17:27:14 +10:00 |
|
Xavier Noria
|
c6612d2bb3
|
Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
activerecord/lib/active_record/transactions.rb
|
2010-12-11 00:55:25 +01:00 |
|
Ryan Bigg
|
dbf955c03b
|
Action Controller Overview: Remove dead link to the API docs for filters
|
2010-12-10 15:55:46 +10:00 |
|
Ryan Bigg
|
f0d4b7f2a6
|
root method options are the same as the match method
|
2010-12-10 09:34:40 +10:00 |
|
José Valim
|
28cf77203b
|
Check if the routes object really responds to define_mount_prefix.
|
2010-12-09 13:15:25 +01:00 |
|
Ryan Bigg
|
fe0e3880e8
|
root route should go at the *top* of the routes file, because it is the most popular route and should be matched first
|
2010-12-09 20:21:08 +10:00 |
|
Ryan Bigg
|
d2f98e5b55
|
indent code samples for mount doc
|
2010-12-09 20:03:14 +10:00 |
|
Ryan Bigg
|
a47f31c593
|
mapper.rb: add "options" to make the default-to-namespace-name line read better
|
2010-12-09 20:01:42 +10:00 |
|
Xavier Noria
|
48386d245b
|
Merge branch 'master' of git://github.com/lifo/docrails
|
2010-12-05 10:33:50 +01:00 |
|
Carlos Antonio da Silva
|
e1d0d5ae81
|
Fix mime type doc typos
|
2010-12-04 22:40:05 -02:00 |
|
José Valim
|
226ea0e9e8
|
Wrap everything in class << self.
|
2010-12-03 13:27:43 +01:00 |
|
José Valim
|
78afe68afb
|
Merge remote branch 'joshk/redirect_routing'
Conflicts:
actionpack/CHANGELOG
actionpack/lib/action_controller/metal/mime_responds.rb
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-12-03 12:27:50 +01:00 |
|
Aaron Patterson
|
831a2342c6
|
just use alias
|
2010-11-30 20:04:31 -08:00 |
|
Josh Kalderimis
|
1e26bda095
|
Added documentation explaining the new additional supported syntaxes for the routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.
|
2010-11-30 17:55:33 +01:00 |
|
Josh Kalderimis
|
0bda6f1ec6
|
The redirect routing method now allows for a hash of options which only changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
|
2010-11-30 16:36:01 +01:00 |
|
José Valim
|
31906eecdf
|
Fix tests on 1.9.2.
|
2010-11-28 12:48:50 +01:00 |
|
José Valim
|
a4c360e8c7
|
trailing star mimes should respect the order in which mime types are defined.
|
2010-11-28 11:54:00 +01:00 |
|
Xavier Noria
|
fd83f9d515
|
Merge branch 'master' of git://github.com/lifo/docrails
|
2010-11-27 07:43:59 +01:00 |
|
Aditya Sanghi
|
5b9f6a74db
|
Resolving LH #5986, cookies doc updates
|
2010-11-26 16:41:33 +05:30 |
|
José Valim
|
731ca00b48
|
Dynamically generaeted helpers on collection should not clobber resources url helper [#6028 state:resolved]
|
2010-11-25 11:50:29 +01:00 |
|
José Valim
|
90b0f61491
|
#:nodoc: internal methods.
|
2010-11-25 11:50:28 +01:00 |
|
Neeraj Singh
|
18adbe9347
|
process text/* if it appears in the middle of
HTTP_ACCEPT parameter
|
2010-11-25 04:38:51 +08:00 |
|
Neeraj Singh
|
5c9abb6cca
|
processing image/* is an odditity because there is
a test case which expects image/* to not to be
expanded. So I am leaving image/* as it is and
process only text/* and application/*
|
2010-11-25 04:38:50 +08:00 |
|
Neeraj Singh
|
e870883625
|
unregister method implementation and test
|
2010-11-25 04:38:47 +08:00 |
|
Josh Kalderimis
|
e39138478b
|
port_string bought back to life as it is part of the public api
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-24 10:34:18 +01:00 |
|
Ryan Bigg
|
e4a9af186a
|
Add mention of nested resource to resources documentation
|
2010-11-24 09:31:29 +11:00 |
|
Ryan Bigg
|
fd47a4bf43
|
Document the :path option for resources :posts
|
2010-11-24 09:28:21 +11:00 |
|
Ryan Bigg
|
01af50d8b6
|
Add :module option documentation for the resources method
|
2010-11-24 09:27:12 +11:00 |
|
Ryan Bigg
|
2974f57aae
|
Remove non-sensical first couple of lines for scope method documentation
|
2010-11-24 09:25:01 +11:00 |
|
Ryan Bigg
|
04af510b56
|
Paths in ActionDispatch::Scoping documentation should be for /admin/posts, not /admin/photos
|
2010-11-24 09:21:25 +11:00 |
|
Ryan Bigg
|
769575300a
|
Fix formatting issue with rake routes output for the namespace method
|
2010-11-24 09:19:27 +11:00 |
|
Xavier Noria
|
0250c3eca4
|
copy-edits RDoc of 2fe43b6
|
2010-11-23 22:51:51 +01:00 |
|
José Valim
|
da583df50c
|
Remove bazillion warnings from AP suite.
|
2010-11-23 10:09:24 +01:00 |
|
José Valim
|
56b1214024
|
Speed up subdomain and domain calculus.
|
2010-11-23 10:05:47 +01:00 |
|
Josh Kalderimis
|
2fe43b694f
|
:subdomain, :domain and :tld_length options can now be used in url_for, allowing for easy manipulation of the host during link generation.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-23 09:54:42 +01:00 |
|
Sven Fuchs
|
5c86286dd6
|
add respond_to? to ActionDispatch::Integration::Runner
since Runner uses method_missing to delegate to the integration session it also should define respond_to? accordingly
|
2010-11-22 15:42:28 -08:00 |
|
Neeraj Singh
|
794b34306e
|
remove select, collect and then inject with
something better
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-11-22 23:06:15 +01:00 |
|