app/controllers/apicasso/apidocs_controller.rb in apicasso-0.6.7 vs app/controllers/apicasso/apidocs_controller.rb in apicasso-0.6.8
- old
+ new
@@ -56,10 +56,10 @@
key :in, :header
end
end
# Eager load application to be able to list all models
- Rails.application.eager_load! unless Rails.configuration.cache_classes
+ Rails.application.eager_load!
# A list of all classes that have swagger_* declarations, which gets
# injected by this gem in all `ActiveRecord::Base` classes
SWAGGERED_CLASSES = [
*ActiveRecord::Base.descendants,
self