Skip to content

Commit

Permalink
Merge pull request #62 from fractaledmind/fix-generator
Browse files Browse the repository at this point in the history
Fix the install generator by putting the schema file in the db/ direc…
  • Loading branch information
fractaledmind committed Sep 18, 2024
2 parents 98b86cd + d09251d commit cbe27af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/solid_errors/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class InstallGenerator < Rails::Generators::Base
source_root File.expand_path("templates", __dir__)

def add_solid_errors_db_schema
template "errors_schema.rb"
template "db/errors_schema.rb"
end

def configure_solid_errors
Expand All @@ -22,7 +22,7 @@ def configure_solid_errors
'\1config.solid_errors.email_from = ""',
'\1config.solid_errors.email_to = ""',
'\1config.solid_errors.username = Rails.application.credentials.dig(:solid_errors, :username)',
'\1config.solid_errors.password = Rails.application.credentials.dig(:solid_errors, :password)',
'\1config.solid_errors.password = Rails.application.credentials.dig(:solid_errors, :password)'
].join("\n")
end
end
Expand Down

0 comments on commit cbe27af

Please sign in to comment.