Browse Source

fix can toot whitespace (#2218)

closed-social-v3
ばん 7 years ago
committed by Eugen
parent
commit
5817bae2da
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      config/initializers/fast_blank.rb

+ 5
- 0
config/initializers/fast_blank.rb View File

@ -0,0 +1,5 @@
if String.method_defined?(:blank_as?)
class String
alias_method :blank?, :blank_as?
end
end

Loading…
Cancel
Save