2 Commits ef810c8e03 ... 5f485e64fa

Autor SHA1 Mensagem Data
  ANX 5f485e64fa fix: readme 6 anos atrás
  ANX ef810c8e03 fix: readme 6 anos atrás
3 arquivos alterados com 7 adições e 5 exclusões
  1. 5 0
      README.md
  2. 0 3
      app/models/user.rb
  3. 2 2
      template.rb

+ 5 - 0
README.md

@@ -37,3 +37,8 @@ spring stop
 cd ..
 rm -rf myapp
 ```
+
+#### Stimulus (Options)
+```
+$ rake webpacker:install:stimulus
+```

+ 0 - 3
app/models/user.rb

@@ -3,8 +3,5 @@ class User < ApplicationRecord
   # :confirmable, :lockable, :timeoutable and :omniauthable
   devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
 
-  has_person_name
-
-  has_many :notifications, foreign_key: :recipient_id
   has_many :services
 end

+ 2 - 2
template.rb

@@ -107,7 +107,7 @@ end
 
 def add_webpack
   rails_command 'webpacker:install'
-  rails_command 'webpacker:install:stimulus'
+  # rails_command 'webpacker:install:stimulus'
 end
 
 def add_sidekiq
@@ -168,7 +168,7 @@ after_bundle do
   add_bootstrap
   add_sidekiq
   add_procodile
-  # add_webpack
+  add_webpack
   add_multiple_authentication
 
   copy_templates