Hello All,
I’ve developed RoR on windowsXP have deployed that on Linux. Everythings
works fine when working on windows. Things are fine on Linux too untill
I try to create new entry. I tried but couldn’t find any relevent
information why it should happen only to this “specific” create action.
I’m saying this because different create on other forms are working ok.
But this is errorring out with the following log tail.
ActionController::UnknownAction (No action responded to create):
/scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark' /scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue’
/scratch/ruby/lib/ruby/1.8/benchmark.rb:293:in measure' /scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue’
/scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
perform_action' /scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
process_without_filters’
/scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
process_without_session_management_support' /scratch/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
process’
/scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
dispatch' /scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:115:in
handle_dispatch’
/scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:81:in
service' /scratch/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
/scratch/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /scratch/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
/scratch/ruby/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /scratch/ruby/lib/ruby/1.8/webrick/server.rb:95:in
start’
/scratch/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' /scratch/ruby/lib/ruby/1.8/webrick/server.rb:23:in
start’
/scratch/ruby/lib/ruby/1.8/webrick/server.rb:82:in start' /scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:67:in
dispatch’
/scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/webrick.rb:59
/scratch/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' /scratch/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require’
/scratch/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/server.rb:30
/scratch/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' /scratch/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require’
script/server:3
My Controller:
def create
@release = Release.new(params[:release])
if @release.save
flash[:notice] = ‘Release was successfully created.’
session[:swrelease] = @release.swrelease
render :action => ‘fileupload’
else
render :action => ‘new’
flash[:notice] = ‘Row already present!’
end
end
View have:
fileupload.rhtml
I’ve spent hours by now figuring out the cause. Any ideas why it is not
getting create method?
Thanks