After some debugging and logging, I noticed that the ‘create’ action
was not being registered by Rails. The ‘new’ action would jump
straight to the ‘index’ action, which is a display list of the
uploaded files. Thanks to Steve E.’ June 20, 2007 blog entry, I
found a workaround. Add this to the body of the ApplicationController
class in application.rb :
def default_url_options(options)
{ :trailing_slash => true }
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.