aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/person.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/person.rb')
-rw-r--r--activerecord/test/models/person.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/person.rb b/activerecord/test/models/person.rb
index f9684b0bcd..c602ca5eac 100644
--- a/activerecord/test/models/person.rb
+++ b/activerecord/test/models/person.rb
@@ -106,7 +106,7 @@ class Insure
def self.load mask
INSURES.select do |insure|
- (1 << INSURES.index(insure)) & mask > 0
+ (1 << INSURES.index(insure)) & mask.to_i > 0
end
end