Commit eafe311b by Jon Yurek

Another ActiveRecord -> ActiveSupport, as previous

parent f1feed0c
......@@ -13,7 +13,7 @@ describe Paperclip::Validators::AttachmentSizeValidator do
end
def self.storage_units
if defined?(ActiveRecord::NumberHelper) # Rails 4.0+
if defined?(ActiveSupport::NumberHelper) # Rails 4.0+
{ 5120 => '5 KB', 10240 => '10 KB' }
else
{ 5120 => '5120 Bytes', 10240 => '10240 Bytes' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment