質問編集履歴

4

誤字

2018/10/19 02:20

投稿

pokerStars
pokerStars

スコア67

test CHANGED
File without changes
test CHANGED
@@ -18,4 +18,4 @@
18
18
 
19
19
 
20
20
 
21
- 配列で取得した要素array をcontroller側で使うにはどのようにすればいいのでしょうか?
21
+ 配列で取得した要素array["title"] をcontroller側で使うにはどのようにすればいいのでしょうか?

3

誤字

2018/10/19 02:20

投稿

pokerStars
pokerStars

スコア67

test CHANGED
File without changes
test CHANGED
@@ -18,4 +18,4 @@
18
18
 
19
19
 
20
20
 
21
- 配列で取得した要素をcontroller側で使うにはどのようにすればいいのでしょうか?
21
+ 配列で取得した要素(array) をcontroller側で使うにはどのようにすればいいのでしょうか?

2

誤字

2018/10/19 01:19

投稿

pokerStars
pokerStars

スコア67

test CHANGED
File without changes
test CHANGED
@@ -18,32 +18,4 @@
18
18
 
19
19
 
20
20
 
21
- 配列で取得した
22
-
23
-
24
-
25
- ```view
26
-
27
- array["title"]
28
-
29
- ```
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
- ```controller
38
-
39
- a = URI.encode("https://api.themoviedb.org/3/search/movie?api_key=,,&language=ja&query="+array["title"])
40
-
41
- ```
42
-
43
-
44
-
45
- このような感じでcontrollerで使えるようにしたいのですが、どのようにしたらいいのかわかりません。
21
+ 配列取得した要素をcontrollerで使うにどのようにすればいいのでしょう
46
-
47
-
48
-
49
- ご教授いただけますでしょうか?

1

ぎじ

2018/10/19 01:18

投稿

pokerStars
pokerStars

スコア67

test CHANGED
File without changes
test CHANGED
@@ -36,7 +36,7 @@
36
36
 
37
37
  ```controller
38
38
 
39
- a = URI.encode("https://api.themoviedb.org/3/search/movie?api_key=53ea4f986260fa27ae8ede7e3103c9d3&language=ja&query="+array["title"])
39
+ a = URI.encode("https://api.themoviedb.org/3/search/movie?api_key=,,&language=ja&query="+array["title"])
40
40
 
41
41
  ```
42
42