質問編集履歴
4
terateilタグ
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
3
2
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
2
oh\.\.\.
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
routes\.rbの情報追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -77,6 +77,14 @@
|
|
77
77
|
#3階層目の部分テンプレート
|
78
78
|
<%= select_tag(:id,options_from_collection_for_select(@numbers,:id,:number),:id=>'pub')%>
|
79
79
|
```
|
80
|
+
```ruby
|
81
|
+
#routes.rb
|
82
|
+
get 'ajax/search'
|
83
|
+
get 'ajax/result'
|
84
|
+
post '/ajax/result'
|
85
|
+
get 'ajax/result2'
|
86
|
+
post '/ajax/result2'
|
87
|
+
```
|
80
88
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
81
89
|
ruby 2.1.3
|
82
90
|
Rails 4.2.5
|