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

8 commits

Author SHA1 Message Date
Vipul A M
73bfb51011 Change links to 37signals and svn blog to point to new destinations. [ci skip] 2014-04-12 12:46:04 +05:30
David Heinemeier Hansson
637bb726ca Digestor should just rely on the finder to know about the format and the variant -- trying to pass it back in makes a mess of things (oh, and doesnt work) 2014-03-21 19:38:59 +01:00
Piotr Chmolowski
025c691536 Ensure LookupContext in Digestor selects correct variant
Related to: #14242 #14243 14293

Variants passed to LookupContext#find() seem to be ignored, so
I've used the setter instead: `finder.variants = [ variant ]`.

I've also added some more test cases for variants. Hopefully this
time passing tests will mean it actually works.
2014-03-09 08:47:17 +01:00
Piotr Chmolowski
1858cc6070 Variants in ActionView::Digestor
Take variants into account when calculating template digests in
ActionView::Digest.

Digestor#digest now takes a hash as an argument to support variants and
allow more flexibility in the future. Old-style arguments have been
deprecated.

Fixes #14242
2014-03-04 15:02:58 +01:00
Rajarshi Das
414f496363 fix the typo [ci skip]
fix the typo newstopics => new topics in action view cache helper
2013-09-02 10:41:55 +05:30
Carlos Antonio da Silva
f410c13bf8 Refactor cache fragment handling with read/write methods 2013-06-25 20:51:02 -03:00
Andrew Rove
f341acdae3 Move the write portion of fragment_for to its own method to allow for easier creation of custom cache methods. 2013-06-25 20:46:02 -03:00
Piotr Sarnacki
0d6e8edc2a Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
Renamed from actionpack/lib/action_view/helpers/cache_helper.rb (Browse further)