9
Ajax kullanırken farklı bir .js.erb
dosyası nasıl oluşturulur? ÖrneğinRails ile farklı .js dosyası oluştur Ajax
:
<% form_tag user_path, :method => :get, :remote => true do %>
Bu UserController#show
geçer ve sonra users/show.js.erb
vermektedir. Bunu UserController#show
'dan geçirip users/hello.js.erb
'u nasıl oluşturabilirim?