Skip to content

Commit

Permalink
Remove redundant curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Rice authored and Adam Rice committed Jul 29, 2016
1 parent 3dc5013 commit f8e826d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/rails_admin/adapters/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f8e826d

Please sign in to comment.