diff options
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/fast_blank.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/fast_blank.rb b/config/initializers/fast_blank.rb new file mode 100644 index 000000000..174ea7664 --- /dev/null +++ b/config/initializers/fast_blank.rb @@ -0,0 +1,5 @@ +if String.method_defined?(:blank_as?) + class String + alias_method :blank?, :blank_as? + end +end |