Displaying 20 results from an estimated 2000 matches similar to: "ActionPack raw_post_data_fix.rb#read_body bug with AMF data."
2007 Aug 21
7
rails truncating raw_post_data?
Has anyone ever run into any problems with rails truncating
raw_post_data. My situation is this: I''m the developer for RubyAMF
(wiki.rubyamf.org). Which is a flash remoting application server. With
the rails plugin, it allows flash to talk to a controller and return AMF
data..
So long story short, the flash player makes a request to a rails
controller sending AMF binary format in the
2011 Nov 24
2
This is not the error: ActionView::MissingTemplate
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
2009 Oct 12
0
Flash / Flex on Rails (Ruby AMF)
Hi All,
I repost my message on RubyAMF group to you all because the group seems dead
and i can''t get help. I hope anyone here has done Flash - Rails development
can answer my question.
I''m creating a Flash - Rails application. From what i know Super Simple
Remote (AS3 classes) has been migrated to Guttershark since early 2008 and i
have tried some tutorials even the one in
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
I''m developing a Rail application to accept data upload using HTTP PUT
call. Support for PUT in Rails seems to be broken in query params
parsing. I have a patch to fix the problem, but I''m not sure if it is
the "right" solution. Can some Rails developers take a quick look? I
can really use some help. :-)
Here is the evident of broken param parsing.
Processing
2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able
to trace if it''s something in Rails that needs adjusted or if cgi.rb
picked up a bug.
The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
2009 Jan 18
0
ActiveResource and file uploads
I am trying to figure out how I could ActiveResource with one of my
web services. I have a desktop application which basically sends and
receives data to and from the server via AMF. (It is an Adobe AIR
application for multiple platforms.)
I''m using RubyAMF as the remoting gateway and Rails v 2.2.2 as the
base of my web application.
I''ve managed to get file uploads work with
2010 Jul 21
0
cgi_process.rb:22:in `__send__': undefined method `env_table
.htaccess is like this...
AddHandler fcgid-script .fcgi
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L] <--- commented
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
if I run....
./dispatch.rb
./../config/environment.rb:35: warning: already initialized constant
MONTHNAMES
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for
several evenings now. I''m testing a multi-step form, and after
submitting the first step, my assert_selects fail on the attempts to
find the form on the next page. However if I print out the response
object, it has the exact text of what I''m trying to match.
Here is the complete integration test. The
2007 Apr 02
2
Re: Test driving WxRuby2 apps
Apologies, I think the gem attachment may have been stripped from my
original mail, so I''ve uploaded it to rubyforge under a new ''wxextra''s
project:
http://rubyforge.org/projects/wxextras/
(direct link:
http://rubyforge.org/frs/download.php/19183/nobbie-wx-preview-0.0.1.gem)
p.
============================================================
Before I forget, thanks
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on
wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very
useful over the years. It''s great to finally have a multi-platform, gem
installable ui toolkit that doesn''t suck!
Secondly, thanks also for wx-sugar. I was drowning in sizers and started
to write my own layout library ... but
2007 Oct 11
0
RubyAMF methods not being found - plugin not being included?
Hi, Im trying to use rubyAMF, and I installed the plugin into my
vendor/plugins directory.
However, it doesnt seem to be loading the active_record and
action_controller utilities.
There is a method in rubyAMF called "as_single!" This method is not
being found in AR. Looking through the plugin code, I dont see how the
file gets required since there is no "init.rb" file in the
2009 Aug 11
0
SEM decomposition of Hessian
I'm trying to run an SEM, but I keep getting the following error message.
In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, :
Could not compute QR decomposition of Hessian.
Optimization probably did not converge.
I have 4 latent variables (plant, AMF, abiotic, and soilAgg) with 2 or 4 indicator variables for each latent variable.My model is specified as:
>
2007 Sep 01
0
Problem with custom Mime::Type.register.
Hello all,
I''m running into a slight problem with Rails and the respond_to function
in controllers. I''ve registered a custom Mime::Type of application/x-amf
:amf (Mime::Type.register "application/x-amf", :amf). The problem I''m
having is that the respond_to function never responds to the
application/x-amf content-type.
I think I''ve narrowed it down to
2006 Feb 14
0
[REQUIREMENTS] Macromedia Flash View for Rails Controller
Hi I know there is no real requirements tag but I was unsure what to
label this message, please don''t flame me :-).
I am using the Javascript Integration Kit with Macromedia Flash to
make a local connection to the rendered Rails view. I am then using
Flash to render my page components (sort of like you do with Lazlo or
Flex etc.) though Javascript acts as a proxy for me. Ideally I would
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
By default, Mongrel will delete the HTTP request body and short
circuit calling any handlers if a request is interrupted or
incomplete. Unfortunately, this breaks any attempt to correctly
handle a partial PUT. (BTW, PUT is *way* more efficient for uploads
compared to POST which requires a MIME parsing step.) So, about a
month ago I wrote up some patches to Mongrel 0.3.18 that allowed
2011 Jan 24
0
actionpack-3.0.3/lib/action_dispatch/middleware/rescue.rb
I was trying to understand how exceptions are caught. There are two
rescue.rb files. One is under ActionController. I understand how it is
invoked and what it does. But the one under action_dispatch I don''t see
how it gets used.
I see the autoload for it in actionpack-3.0.3/lib/action_dispatch.rb but
I don''t see a Rescue class created anywhere.
Can someone help me to
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1
Everytime I run the unit and/or functional tests, I got the following
messages. Is there something I need to do to remove? I am not sure where
to start. Thanks in advance.
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2006 Dec 18
3
getting url from evt_text_url event
paul.allton at uk.bnpparibas.com wrote:
> TextCtrl on windows supports the TE_RICH and TE_AUTO_URL styles, but
I cannot seem
> to extract the url from the generated evt_text_url event. Is this
not supported or am
> I just not asking the right question of it?
It seems there is a class specifically for this in WxWidgets, called
TextUrlEvent, which includes methods for retrieving
2008 Feb 15
1
Socket read returned insufficient data
In the several months I''ve been using Mongrel, I''ve experienced two
crashes. Both were immediately following a "Socket read returned
insufficient data" error from HTTPRequest. Both times, the mongrel
process would hang indefinitely (and not respond to requests) untill
manually killed.
The first instance references a line where I was using