Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use #number? column proxy internally

  • Loading branch information...
commit 067dc211bd29d53a1d87bd27a9a94cc7c2443087 1 parent eaa4f47
Aaron Pfeifer obrie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/preferences/preference_definition.rb
2  lib/preferences/preference_definition.rb
View
@@ -41,7 +41,7 @@ def type_cast(value)
def query(value)
if !(value = type_cast(value))
false
- elsif @column.number?
+ elsif number?
!value.zero?
else
!value.blank?
Please sign in to comment.
Something went wrong with that request. Please try again.