lib/resourcelogic/scope.rb in binarylogic-resourcelogic-0.12.2 vs lib/resourcelogic/scope.rb in binarylogic-resourcelogic-0.12.3
- old
+ new
@@ -16,10 +16,10 @@
private
def scope
return @scope if defined?(@scope)
if parent?
- @scope = parent_object.send(parent_scope_name)
+ @scope = parent.send(parent_scope_name)
else
@scope = model
end
end
\ No newline at end of file