lib/dynamic_image/model.rb in dynamic_image-2.1.5 vs lib/dynamic_image/model.rb in dynamic_image-3.0.0
- old
+ new
@@ -98,12 +98,11 @@
end
# Includes a timestamp fingerprint in the URL param, so
# that rendered images can be cached indefinitely.
def to_param
- [id, updated_at.utc.to_formatted_s(cache_timestamp_format)].join("-")
+ [id, updated_at.utc.to_s(cache_timestamp_format)].join("-")
end
-
private
def read_image_metadata
metadata = DynamicImage::Metadata.new(data)