lib/easy_ml/engine.rb in easy_ml-0.2.0.pre.rc26 vs lib/easy_ml/engine.rb in easy_ml-0.2.0.pre.rc27

- old
+ new

@@ -47,10 +47,10 @@ initializer "easy_ml.enable_string_cache" do Polars.enable_string_cache end - if %w[db:migrate db:migrate:status db:setup db:drop].include?(ARGV.first) + if %w[db:migrate db:migrate:status db:setup db:drop assets:precompile].include?(ARGV.first) config.eager_load_paths = config.eager_load_paths.without(config.eager_load_paths.map(&:to_s).grep(/easy_ml/).map { |p| Pathname.new(p) }) else config.after_initialize do Dir.glob(File.expand_path("app/models/easy_ml/datasources/*.rb", EasyML::Engine.root)).each do |file| require file