Displaying 10 results from an estimated 10 matches for "extract_request_environment".
2008 Feb 15
3
Ajax problem with rails 2.0.2 - frozen string?
.../gems/actionpack-2.0.2/lib/
action_controller/request.rb:22:in `request_method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:35:in `method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/routing.rb:1483:in `extract_request_environment''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/routing.rb:1424:in `recognize''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:170:in `handle_request''
/usr/local/lib/ruby/gems/1.8/gems/actionpa...
2009 Nov 10
10
Un-recognised routes that do exist, using namespaces & subdomain checking
...omething different with the request, as if I
monkey patch the routing with the following I never get the dumps when
using RSpec even though both these are called pretty early on in route
recognition.
module Foo
module RouteSetExtensions
def self.included(base)
base.alias_method_chain :extract_request_environment, :debug
base.alias_method_chain :recognize_path, :debug
end
def recognize_path_with_debug(path, environment={})
puts path
puts environment.to_yaml
recognize_path_without_debug(path, environment)
end
def extract_request_environment_with_debug(request)...
2008 Jun 21
5
RJS can't modify frozen string
.../gems/actionpack-2.0.2/lib/
action_controller/request.rb:22:in `request_method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/request.rb:35:in `method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/routing.rb:1483:in `extract_request_environment''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/routing.rb:1424:in `recognize''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:170:in `handle_request''
/usr/local/lib/ruby/gems/1.8/gems/actionpa...
2007 Dec 23
7
Help with error "undefined method `downcase' for nil:NilClass" after migration
Hi all,
I have a rails 1.5.2 application. I''ve frozen the application via the
"rake rails:freeze:gems" command. This application worked well on a server
I previously had it installed on. My server was getting really slow, and I
requested that I be moved to a new server. When I perform a "gem list
rails" command on my new host, I receive only version 1.2.6. Since
2008 Feb 07
2
FAILSAFE error with uploads
...rs''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
request.rb:22:in `request_method''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
request.rb:35:in `method''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
routing.rb:1483:in `extract_request_environment''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
routing.rb:1424:in `recognize''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:170:in `handle_request''
/my/app/web/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb...
2007 Mar 23
0
Error - Conflicting types for parameter containers
...tion_controller/request.rb:13:in `parameters''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/request.rb:20:in `method''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/routing.rb:1307:in
`extract_request_environment''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/routing.rb:1256:in `recognize''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/railties/
lib/dispatcher.rb:40:in `dispatch''
/Applications/Locomotive2/Bundles/stand...
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
...b/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:22:in
`request_method''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:35:in
`method''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1483:in
`extract_request_environment''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in
`recognize''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in
`handle_request''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_...
2008 Mar 11
3
ActionController::NotImplemented (Only requests are allowed.)
We have a bunch of strange entries in our error log, and don''t know
exactly what they mean:
The errors are as follows
ActionController::NotImplemented (Only requests are allowed.):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1437:in `recognize_path''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1424:in
2007 Jan 31
7
GET request works via curl, crashes from Java
...s/1.8/gems/actionpack-1.13.1/lib/action_controller/request.rb:13:in
`parameters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/request.rb:20:in
`method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/routing.rb:1307:in
`extract_request_environment''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/action_controller/routing.rb:1256:in
`recognize''
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:40:in
`dispatch''
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in
`...
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
.../gems/actionpack-2.1.0/lib/action_controller/
request.r
b:22:in `request_method''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
request.r
b:35:in `method''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
routing/r
oute_set.rb:431:in `extract_request_environment''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
routing/r
oute_set.rb:384:in `recognize''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatche
r.rb:148:in `handle_request''
/Library/Ruby/Gems/1.8/gems/actionpack-2.1....