Commit 35988dbd by Prem Sichanugrist

Compatability => Compatibility :+1+

Closes #332
parent 26ef20e1
...@@ -38,7 +38,7 @@ require 'paperclip/interpolations' ...@@ -38,7 +38,7 @@ require 'paperclip/interpolations'
require 'paperclip/style' require 'paperclip/style'
require 'paperclip/attachment' require 'paperclip/attachment'
require 'paperclip/storage' require 'paperclip/storage'
require 'paperclip/callback_compatability' require 'paperclip/callback_compatibility'
require 'paperclip/railtie' require 'paperclip/railtie'
require 'cocaine' require 'cocaine'
...@@ -244,7 +244,7 @@ module Paperclip ...@@ -244,7 +244,7 @@ module Paperclip
# } # }
# NOTE: While not deprecated yet, it is not recommended to specify options this way. # NOTE: While not deprecated yet, it is not recommended to specify options this way.
# It is recommended that :convert_options option be included in the hash passed to each # It is recommended that :convert_options option be included in the hash passed to each
# :styles for compatability with future versions. # :styles for compatibility with future versions.
# NOTE: Strings supplied to :convert_options are split on space in order to undergo # NOTE: Strings supplied to :convert_options are split on space in order to undergo
# shell quoting for safety. If your options require a space, please pre-split them # shell quoting for safety. If your options require a space, please pre-split them
# and pass an array to :convert_options instead. # and pass an array to :convert_options instead.
......
...@@ -6,13 +6,13 @@ module Paperclip ...@@ -6,13 +6,13 @@ module Paperclip
module Interpolations module Interpolations
extend self extend self
# Hash assignment of interpolations. Included only for compatability, # Hash assignment of interpolations. Included only for compatibility,
# and is not intended for normal use. # and is not intended for normal use.
def self.[]= name, block def self.[]= name, block
define_method(name, &block) define_method(name, &block)
end end
# Hash access of interpolations. Included only for compatability, # Hash access of interpolations. Included only for compatibility,
# and is not intended for normal use. # and is not intended for normal use.
def self.[] name def self.[] name
method(name) method(name)
......
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