質問編集履歴

3

a

2017/12/27 04:29

投稿

defeatist
defeatist

スコア35

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  @content_instance = Content.new
12
12
 
13
- @content_instance.save_content(params)
13
+ @content_instance.save_content(params)
14
14
 
15
15
  ```
16
16
 

2

a

2017/12/27 04:29

投稿

defeatist
defeatist

スコア35

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

2017/12/27 04:29

投稿

defeatist
defeatist

スコア35

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- > # **ruby(rails)でselfの値を変更できません
1
+ > #ruby(rails)でselfの値を変更できません
2
2
 
3
3
 
4
4