teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

terateilタグ

2016/04/03 15:59

投稿

tonoko
tonoko

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

3

2

2016/04/03 15:59

投稿

tonoko
tonoko

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

2

oh\.\.\.

2016/04/02 23:19

投稿

tonoko
tonoko

スコア8

title CHANGED
File without changes
body CHANGED
File without changes

1

routes\.rbの情報追加

2016/04/02 16:44

投稿

tonoko
tonoko

スコア8

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