diff options
Diffstat (limited to 'lib/active_relation/extensions/nil_class.rb')
-rw-r--r-- | lib/active_relation/extensions/nil_class.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/active_relation/extensions/nil_class.rb b/lib/active_relation/extensions/nil_class.rb new file mode 100644 index 0000000000..729c4cada7 --- /dev/null +++ b/lib/active_relation/extensions/nil_class.rb @@ -0,0 +1,5 @@ +class NilClass + def equality_predicate_sql + 'IS' + end +end
\ No newline at end of file |