We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5c6b5 commit f447434Copy full SHA for f447434
lib/annotate/annotate_models.rb
@@ -784,7 +784,7 @@ def get_loaded_model_by_path(model_path)
784
def parse_options(options = {})
785
self.model_dir = split_model_dir(options[:model_dir]) if options[:model_dir]
786
self.root_dir = options[:root_dir] if options[:root_dir]
787
- self.skip_subdirectory_model_load = options[:skip_subdirectory_model_load].present? ? options[:skip_subdirectory_model_load] : false
+ self.skip_subdirectory_model_load = options[:skip_subdirectory_model_load].present?
788
end
789
790
def split_model_dir(option_value)
0 commit comments