Closed jelaniwoods closed 5 years ago
db/seeds.rb
For some reason, rails g active_admin:install now adds a conditional to the AdminUser.create! method call in db.seeds.rb which was breaking the Regex that template.rb was using to gsub the file. I've updated the Regex to be more accommodating.
rails g active_admin:install
AdminUser.create!
db.seeds.rb
template.rb
@jelaniwoods LGTM :ship:
72 - Fixes the gsub of
db/seeds.rb
For some reason,
rails g active_admin:install
now adds a conditional to theAdminUser.create!
method call indb.seeds.rb
which was breaking the Regex thattemplate.rb
was using to gsub the file. I've updated the Regex to be more accommodating.