lib/goldiloader/scope_info.rb in goldiloader-3.2.0 vs lib/goldiloader/scope_info.rb in goldiloader-4.0.0
- old
+ new
@@ -19,14 +19,10 @@
def auto_include?
scope.auto_include_value
end
def from?
- if Goldiloader::Compatibility.rails_4?
- scope.from_value.present?
- else
- scope.from_clause.present?
- end
+ scope.from_clause.present?
end
def group?
scope.group_values.present?
end