Ruby on Rails forms: missing template on submit
My controller has two methods: index and search.

`def index`: renders the default view, `index.html.erb`, and displays a default map using YM4R/GM.


`def search`: renders the default view using `render index`, but uses form input to display a custom map using YM4R/GM.

The view, `index.html.erb`, contains a partial view, `_form.html.erb`, and the `@map.div` for YM4R/GM.

The map displays fine when rendered through the default, but when submitted to the search method I get the error:<br/>`Template is missing.  Missing template ym4r/gm_plugin/variables/_variable.erb in view path app/views`. 

What's weird is that I had this working yesterday until I started jacking around with trying to make my form submit using `form_remote_tag`.  I started getting this error with that type of call so now I've changed everything back (I think), but I'm still getting the error.  I think there's something I don't understand about how Rails renders views.


  [1]: http://
Ruby on Rails forms: missing template on submit
===

My controller has two methods: index and search.

`def index`: renders the default view, `index.html.erb`, and displays a default map using YM4R/GM.


`def search`: renders the default view using `render index`, but uses form input to display a custom map using YM4R/GM.

The view, `index.html.erb`, contains a partial view, `_form.html.erb`, and the `@map.div` for YM4R/GM.

The map displays fine when rendered through the default, but when submitted to the search method I get the error:<br/>`Template is missing.  Missing template ym4r/gm_plugin/variables/_variable.erb in view path app/views`. 

What's weird is that I had this working yesterday until I started jacking around with trying to make my form submit using `form_remote_tag`.  I started getting this error with that type of call so now I've changed everything back (I think), but I'm still getting the error.  I think there's something I don't understand about how Rails renders views.


  [1]: http://