instante-social/config/initializers/fast_blank.rb

6 lines
90 B
Ruby

if String.method_defined?(:blank_as?)
class String
alias blank? blank_as?
end
end