1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

25 commits

Author SHA1 Message Date
Akira Matsuda
b40bd16b7b Missing require hash/keys 2013-02-01 14:01:04 +09:00
Akira Matsuda
15bd0f60db These are already required through AS/rails
* core_ext/object/blank
* concern
* core_ext/class/attribute
* deprecation
2013-01-06 23:57:25 +09:00
claudiob
019df98875 Replace comments' non-breaking spaces with spaces
Sometimes, on Mac OS X, programmers accidentally press Option+Space
rather than just Space and don’t see the difference. The problem is
that Option+Space writes a non-breaking space (0XA0) rather than a
normal space (0x20).

This commit removes all the non-breaking spaces inadvertently
introduced in the comments of the code.
2012-12-04 22:11:54 -08:00
AvnerCohen
62f273b650 Multiple changes to 1,9 hash syntax 2012-10-27 22:05:27 +02:00
Francesco Rodriguez
417aa431eb update AC::ConditionalGet documentation [ci skip] 2012-09-22 20:07:49 -05:00
Carlos Antonio da Silva
a203530713 Use merge! to merge additional options onto default options 2012-09-07 11:18:17 -03:00
kennyj
d30977c758 Fixes warning: & interpreted as argument prefix 2012-08-30 23:11:54 +09:00
David Heinemeier Hansson
0093dafd80 Use class_attribute so we dont bleed 2012-08-29 15:36:11 -05:00
David Heinemeier Hansson
ed5c938fa3 Added controller-level etag additions that will be part of the action etag computation *Jeremy Kemper/DHH* 2012-08-29 15:06:30 -05:00
Francesco Rodriguez
fc0391ff7d Removing ==Examples and last blank lines of docs from actionpack 2012-05-15 01:51:54 -05:00
Anuj Dutta
1adad4442b Removed max-stale from the setting the cache-headers in the response as max-stale is a cache request header. 2012-03-02 07:22:16 +00:00
José Valim
2f689d462d Merge pull request #3479 from arvida/ensure-date-header-on-expires-in
Ensure Date header on expires_in
2012-02-18 00:28:23 -08:00
Xavier Noria
ce51edb73b let expires_in accept a must_revalidate flag 2012-02-17 05:18:37 -08:00
David Heinemeier Hansson
83d29a283c Revert "Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale? conditional get methods from Action Pack"
Needless indirection with no added value.

This reverts commit 535853e83b.
2011-12-01 20:45:47 +01:00
David Heinemeier Hansson
535853e83b Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale? conditional get methods from Action Pack 2011-12-01 19:47:14 +01:00
David Heinemeier Hansson
218c272938 Allow fresh_when/stale? to take a record instead of an options hash [DHH] 2011-12-01 19:16:10 +01:00
arvida
2a7230aa99 Ensuring a HTTP Date header when setting Cache-Control's max-age with #expires_in 2011-10-31 10:27:23 +01:00
Krekoten' Marjan
0744d36f47 Fix small typo in documentation 2010-10-12 22:55:19 +03: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
Joost Baaij
ca36326706 cleanup of ActionController::Metal inline documentation 2010-08-26 22:32:40 +02:00
Joshua Peek
29c8a43056 Rename RackConvenience => RackDelegation 2009-12-20 20:05:26 -06:00
Yehuda Katz
e1786ee6eb Fixes expires_now and cleans things up a bit 2009-10-26 17:32:42 -07:00
Yehuda Katz
d7499f8ee8 Extract #head into its own module and simplify it 2009-10-26 17:13:43 -07:00
José Valim
f59984cc81 Add nagivational behavior to respond_with. 2009-08-07 17:16:15 +02:00
Yehuda Katz
bd6b61be88 Rename /base to /metal and make base.rb and metal.rb top-level to reflect their module locations 2009-08-06 19:52:11 -03:00
Renamed from actionpack/lib/action_controller/base/conditional_get.rb (Browse further)