[OSM-dev] Delete node crashes 0.6 rails

Tom Hughes tom at compton.nu
Tue May 20 09:42:41 BST 2008


In message <20080520080001.GC23047 at jafshome.irule.be>
        bvh <bvh-osm at irule.be> wrote:

> deleting a node on the api06 instance that crschmidt is running
> on dev results in a 500 internal server error. The log file
> (~crschmidt/api06/log/development.log) complains about
> ActionController::MissingTemplate (Missing template node/delete.html.erb
> in view path /home/crschmidt/api06/app/views). See the log for
> the full backtrace. The node is deleted, though.
>
> Does anyone have an idea on how to solve this? My rails fu is
> non-existant...

The delete method just needs to be told not to render anything
when it's done - ie "render :nothing => true".

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list