質問編集履歴
3
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
@content_instance = Content.new
|
12
12
|
|
13
|
-
|
13
|
+
@content_instance.save_content(params)
|
14
14
|
|
15
15
|
```
|
16
16
|
|
2
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,3 +41,11 @@
|
|
41
41
|
end
|
42
42
|
|
43
43
|
```
|
44
|
+
|
45
|
+
エラー
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
Can't change the value of self self = Content.find_by(content_id: param[:content_id]) ^
|
50
|
+
|
51
|
+
```
|
1
a
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
> #
|
1
|
+
> #ruby(rails)でselfの値を変更できません
|
2
2
|
|
3
3
|
|
4
4
|
|