When trying to clear a value using in-place editing, an ActionController::MissingTemplate error is raised.
The cause is because the options given to #render is { :text => nil } (since params[:value] is nil when sending a blank value via the Javascript). Those options cause various problems eventually leading the render mechanism to believe, incorrectly, it should render a view template for the set_<model>_<attribute> method.
Here's the params the method receives:
Parameters: {"action"=>"set_set_title", "id"=>"48597", "controller"=>"entries"}
Here's a backtrace:
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/base.rb:1206:in `assert_existence_of_template_file'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/base.rb:805:in `render_file'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/base.rb:778:in `render_with_no_layout'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/layout.rb:244:in `render_without_benchmark'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'
/var/www/apps/eachday/releases/20070411021523/app/controllers/sets_controller.rb:22:in `set_set_title'
/var/www/apps/eachday/releases/20070411021523/vendor/rails/actionpack/lib/action_controller/base.rb:1096:in `perform_action_without_filters'
30 irrelevant lines removed for brevity ...
It shouldn't get to render_file, I believe.