質問編集履歴
2
画像追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -212,6 +212,8 @@
|
|
212
212
|
|
213
213
|
![イメージ説明](7296a6fad434d38e54b2d3c585670b0a.png)
|
214
214
|
|
215
|
+
![イメージ説明](7bb19be4c66f06b8792724018a1b7cb1.png)
|
216
|
+
|
215
217
|
|
216
218
|
|
217
219
|
|
1
コード追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -170,6 +170,34 @@
|
|
170
170
|
|
171
171
|
```
|
172
172
|
|
173
|
+
|
174
|
+
|
175
|
+
```ruby
|
176
|
+
|
177
|
+
app>controllers>users_controller.rb
|
178
|
+
|
179
|
+
class UsersController < ApplicationController
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
private
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
def user_params
|
190
|
+
|
191
|
+
params.require(:user).permit(:name, :email, :profile, :occupation, :position)
|
192
|
+
|
193
|
+
end
|
194
|
+
|
195
|
+
end
|
196
|
+
|
197
|
+
```
|
198
|
+
|
199
|
+
|
200
|
+
|
173
201
|
|
174
202
|
|
175
203
|
|