Hey everyone,
I am getting the following error:
Started POST "/rubyamf/gateway" for 127.0.0.1 at 2011-11-24 16:27:20
+1300
Processing by RubyamfController#gateway as */*
Processing by ProjectsController#templates as */*
←[1m←[36mProject Load (1.0ms)←[0m ←[1mSELECT `projects`.* FROM
`projects` ←[0
m
Completed 200 OK in 34ms (Views: 3.0ms | ActiveRecord: 28.0ms)
Completed 500 Internal Server Error in 267ms
ActionView::MissingTemplate (Missing template rubyamf/gateway with
{:handlers=>[
:erb, :builder, :coffee], :formats=>[:html, :text, :js, :css, :ics, :csv,
:xml,
:rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :amf],
:locale=>[
:en, :en]}. Searched in:
*
"C:/work/Flex-Planner/schneider-planner-source/App_Server_Update/app/views"
):
Rendered
C:/Ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.1/lib/action_dispatc
h/middleware/templates/rescues/missing_template.erb within rescues/layout
(1.0ms
)
[2011-11-24 16:27:20] ERROR Errno::ECONNABORTED: An established connection
was a
borted by the software in your host machine.
C:/Ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:80:in `eof?''
C:/Ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:80:in `run''
C:/Ruby193/lib/ruby/1.9.1/webrick/server.rb:191:in `block in
start_threa
d''>>>>>>>> RubyAMF >>>>>>>>>
#<RubyAMF::Actions::PrepareAction:0x3eb2c18>
took: 0.
00000 secs>>>>>>>> RubyAMF >>>>>>>>>
#<RubyAMF::Actions::RailsInvokeAction:0x3eb2bb8>
took
: 0.00000 secs>>>>>>>> RubyAMF >>>>>>>>>
Serialization took: 0.00100 secs
=====================
At first it would seem like a template is missing, except I am rendering to
AMF.
In the controller I am simply calling a model.find(:all) and it retrieves
all data requested.
Works fine on a number of models, but when I call Project I get the above
error.
I duplicated the table, incase it was a MySQL error, but the duplicated
table worked fine,
which only leaves me that there is something wrong with the associated
Model Reference?
Any ideas? It is a highly isolated issue.
Appreciate any help,
James from New Zealand.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/IiFgxcbZ_xoJ.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.