aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-12-29 07:24:56 -0500
committerGeorge Claghorn <george@basecamp.com>2018-12-29 07:24:56 -0500
commit7c4457447e1136979e8ed9d822700c1041e9efa6 (patch)
treeecfa033f7d0326ee6908fd5df2e9a266a1afa5f8 /railties/lib/rails
parentfb173b66138adf1d6940aca3af76d3c62307441d (diff)
downloadrails-7c4457447e1136979e8ed9d822700c1041e9efa6.tar.gz
rails-7c4457447e1136979e8ed9d822700c1041e9efa6.tar.bz2
rails-7c4457447e1136979e8ed9d822700c1041e9efa6.zip
Don't load Action Mailbox when Active Storage is skipped
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/app_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index 1d79df4957..576f3be019 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -231,7 +231,7 @@ module Rails
end
def skip_action_mailbox? # :doc:
- options[:skip_active_record]
+ skip_active_storage?
end
class GemfileEntry < Struct.new(:name, :version, :comment, :options, :commented_out)