diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-13 02:55:24 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-13 02:55:24 -0700 |
commit | 5d76dee329282acc918de50fecde869f1431e2f1 (patch) | |
tree | 0c6210535c511efa160cce8a6c09bdd08a09fb9f /actionpack/lib/action_view | |
parent | 7c1714cbd0b37d1fc5ca2ac3e08980943454d516 (diff) | |
download | rails-5d76dee329282acc918de50fecde869f1431e2f1.tar.gz rails-5d76dee329282acc918de50fecde869f1431e2f1.tar.bz2 rails-5d76dee329282acc918de50fecde869f1431e2f1.zip |
Example using an edge side include body part to fetch queued rendering results
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/body_parts/open_uri.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/actionpack/lib/action_view/body_parts/open_uri.rb b/actionpack/lib/action_view/body_parts/open_uri.rb deleted file mode 100644 index 8ebd17b4a1..0000000000 --- a/actionpack/lib/action_view/body_parts/open_uri.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'action_view/body_parts/threaded' -require 'open-uri' - -module ActionView - module BodyParts - class OpenUri < Threaded - def initialize(url) - url = URI::Generic === url ? url : URI.parse(url) - super(true) { |parts| parts << url.read } - end - end - end -end |