lib/motor/admin.rb in motor-admin-0.2.49 vs lib/motor/admin.rb in motor-admin-0.2.50
- old
+ new
@@ -107,9 +107,11 @@
puts
puts ' => Run `rails g motor:upgrade && rake db:migrate`' \
' to perform data migration and enable the latest features'
puts
end
+ rescue ActiveRecord::NoDatabaseError
+ nil
end
end
end
end