diff options
author | Ernie Miller <ernie@erniemiller.org> | 2014-06-01 10:59:37 -0400 |
---|---|---|
committer | Ernie Miller <ernie@erniemiller.org> | 2014-06-01 10:59:37 -0400 |
commit | 6a7e94ae5c29542aa3b3e33a7fc77a1546ec793f (patch) | |
tree | fa843d73d55201f9b94328327c8b8a5c7c76d8d0 /lib/arel/select_manager.rb | |
parent | 577c4866871abaa60d89e8a8a4cb8bdf29bb52fb (diff) | |
parent | a5cac2ab52570a2d17a28d725d94020d32f36417 (diff) | |
download | rails-6a7e94ae5c29542aa3b3e33a7fc77a1546ec793f.tar.gz rails-6a7e94ae5c29542aa3b3e33a7fc77a1546ec793f.tar.bz2 rails-6a7e94ae5c29542aa3b3e33a7fc77a1546ec793f.zip |
Merge pull request #282 from vipulnsward/remove-blank
Remove use of `.blank?`
Diffstat (limited to 'lib/arel/select_manager.rb')
-rw-r--r-- | lib/arel/select_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index f1dde6403a..4a652f2c9c 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -106,7 +106,7 @@ module Arel case relation when String, Nodes::SqlLiteral - raise if relation.blank? + raise if relation.empty? klass = Nodes::StringJoin end |