From f8e826d8648060104faffdb53ae3acbd79bb74bb Mon Sep 17 00:00:00 2001 From: Adam Rice Date: Wed, 27 Jul 2016 11:12:34 +1000 Subject: [PATCH] Remove redundant curly braces --- lib/rails_admin/adapters/active_record.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/rails_admin/adapters/active_record.rb b/lib/rails_admin/adapters/active_record.rb index 3c979e1007..6260990e73 100644 --- a/lib/rails_admin/adapters/active_record.rb +++ b/lib/rails_admin/adapters/active_record.rb @@ -178,10 +178,8 @@ def generic_unary_operators def boolean_unary_operators generic_unary_operators.merge( - { - '_blank' => ["(#{@column} IS NULL)"], - '_present' => ["(#{@column} IS NOT NULL)"] - } + '_blank' => ["(#{@column} IS NULL)"], + '_present' => ["(#{@column} IS NOT NULL)"] ) end