Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed return value in HasMany.value

  • Loading branch information...
commit deaf27eb3541970eefd3aa710f0c4976cf62aa7a 1 parent 271f554
Alex Serebryakov serebryakov authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/lib/associations/has_many.rb
1  lib/lib/associations/has_many.rb
View
@@ -139,6 +139,7 @@ def value
:conditions => { reverse => @instance },
:skip => [reverse]
})
+ @value || []
end
##
Please sign in to comment.
Something went wrong with that request. Please try again.