Displaying 20 results from an estimated 50 matches for "methodoverride".
2011 May 04
1
is not allowed as an instance variable name error
...;'
app/other/restful_component.rb:73:in `new''
app/other/restful_component.rb:72:in `new''
/home/app-sptr/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in
`realtime''
rack (1.1.2) lib/rack/head.rb:9:in `call''
rack (1.1.2) lib/rack/methodoverride.rb:24:in `call''
rack (1.1.2) lib/rack/lock.rb:11:in `call''
rack (1.1.2) lib/rack/lock.rb:11:in `synchronize''
rack (1.1.2) lib/rack/lock.rb:11:in `call''
I understand that when you use form_for, you cannot have an empty
instance variable passed into th...
2009 Nov 28
3
When and Where does is the Method Override parsed?
I''m trying to figure out when and where the method override is parsed and
dealt with.
This works
curl ''http://www.whatsayye.com/questions/3.json'' \
-X "POST" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-HTTP-Method-Override: PUT" \
-d "{
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
...gger
ActionDispatch::ShowExceptions
ActionDispatch::RemoteIp
Rack::Sendfile
ActionDispatch::Callbacks
ActiveRecord::ConnectionAdapters::ConnectionManagement
ActiveRecord::QueryCache
ActionDispatch::Cookies
ActionDispatch::Session::CookieStore
ActionDispatch::Flash
ActionDispatch::ParamsParser
Rack::MethodOverride
ActionDispatch::Head
ActionDispatch::BestStandardsSupport
Application root /root/test/app
Environment development
Database adapter mysql2
Database schema version 0
======
% rmre -a mysql -d test -u root
/usr/local/rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/
active_record/connection_adapter...
2012 Jun 18
4
Problem with exists? method
...middleware/show_exceptions.rb:56:in `call''
railties (3.2.4) lib/rails/rack/logger.rb:26:in `call_app''
railties (3.2.4) lib/rails/rack/logger.rb:16:in `call''
actionpack (3.2.4) lib/action_dispatch/middleware/request_id.rb:22:in
`call''
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call''
rack (1.4.1) lib/rack/runtime.rb:17:in `call''
Can anyone tellme why its failing?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this gro...
2012 Mar 01
1
help stylesheet_link_tag
...ddleware/show_exceptions.rb:
56:in `call''
railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app''
railties (3.2.1) lib/rails/rack/logger.rb:16:in `call''
actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:
22:in `call''
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call''
rack (1.4.1) lib/rack/runtime.rb:17:in `call''
activesupport (3.2.1) lib/active_support/cache/strategy/
local_cache.rb:72:in `call''
rack (1.4.1) lib/rack/lock.rb:15:in `call''
actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in...
2013 Jul 22
0
How to handle exception that is generated in rack middleware before it reach rails app?
...that caused Rails Rack
middleware to throw an exception when Rack''s parse_query method. Here is
the detail of the
problem: http://stackoverflow.com/questions/17796878/how-to-handle-exception-generated-from-rack-before-reaching-your-rails-app
The issue is that it failed in rails Rack::MethodOverride with is
before ActionDispatch::ShowExceptions middleware and way before it even got
to the rails app.
So how do we handle the exception gracefully without showing the stack
trace?
Thanks for your help.
--
You received this message because you are subscribed to the Google Groups "Ruby on...
2014 Feb 18
0
Compiled assets are not found in production mode run locally
...ctive_support/tagged_logging.rb:25:in `tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in
`call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.2)
lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.0.2) lib/rails/engine.rb:511:in `call'
railties (4.0.2) lib/ra...
2010 Mar 23
3
NoMethodError in AdminController#index
...ction_adapters/abstract/connection_pool.rb:361:in `call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
string_coercion.rb:25:in `call''
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call''
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:
24:in `call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
params_parser.rb:15:in `call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
session/cookie_store.rb:93:in `call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/act...
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
.../middleware.rb:23:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/session/cookie_store.rb:99:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/ge...
2009 Apr 22
3
Error on running any controller- Noob question
.../active_record/
connection_adapters/abstract/connection_pool.rb:361:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
vendor/rack-1.0/rack/head.rb:9:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
vendor/rack-1.0/rack/methodoverride.rb:24:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
params_parser.rb:15:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
rewindable_input.rb:25:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib...
2010 Dec 10
0
Encoding issues when uploading files
...`call''
actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:492:in
`call''
actionpack (3.0.0) lib/action_dispatch/middleware/
best_standards_support.rb:17:in `call''
actionpack (3.0.0) lib/action_dispatch/middleware/head.rb:14:in `call''
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call''
actionpack (3.0.0) lib/action_dispatch/middleware/params_parser.rb:
21:in `call''
actionpack (3.0.0) lib/action_dispatch/middleware/flash.rb:182:in
`call''
actionpack (3.0.0) lib/action_dispatch/middleware/session/
abstract_store.rb:149:in `call''
ac...
2010 Jun 15
3
Newbie trying to set up rails with MySQL
...on_pool.rb:361:in `call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/
action_controller/str
ing_coercion.rb:25:in `call''
C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in
`call''
C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/
methodoverride.rb:24:i
n `call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/
action_controller/par
ams_parser.rb:15:in `call''
C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/
action_controller/ses
sion/cookie_store.rb:99:in `call''
C:/Ruby186/lib/ruby/gems/1...
2009 Jun 30
2
First time problem
..._record/connection_adapters/abstract/connection_pool.rb:361:in
`call''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/head.rb:9:in `call''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/params_parser.rb:15:in `call''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
action_controller/rewindable_input.rb:25:in `call''
c:/ruby/lib/ruby/gems/1.8/gems/actionpa...
2010 Mar 24
1
Trouble starting the server, HELP PLEASE!
...rb:361:in
`call''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/string_coercion.rb:25:in `call''
/Users/peterorpete/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:
9:in `call''
/Users/peterorpete/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/
methodoverride.rb:24:in `call''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/params_parser.rb:15:in `call''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/session/cookie_store.rb:93:in `call''
/usr/local/lib/ruby/gems/1.8/...
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
...`call''
actionpack (3.0.7) lib/action_dispatch/routing/route_set.rb:493:in
`call''
actionpack (3.0.7) lib/action_dispatch/middleware/
best_standards_support.rb:17:in `call''
actionpack (3.0.7) lib/action_dispatch/middleware/head.rb:14:in `call''
rack (1.2.2) lib/rack/methodoverride.rb:24:in `call''
actionpack (3.0.7) lib/action_dispatch/middleware/params_parser.rb:
21:in `call''
actionpack (3.0.7) lib/action_dispatch/middleware/flash.rb:182:in
`call''
actionpack (3.0.7) lib/action_dispatch/middleware/session/
abstract_store.rb:149:in `call''
ac...
2009 Jun 13
5
undefined method `valid_password?'
...2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in
`call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in
`call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in
`call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in
`call''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_con...
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but,
instead doing the examples using Rails3.0.0.rc.
But, I''m getting this error when browsing for example:
http://localhost:3000/advs/1
undefined method `eq'' for nil:NilClass
Provided that my advs_controller.rb is as follows:
http://pastie.org/private/cd9zntg2ite57ept288kfa
Any ideas why
2010 Jan 11
0
FAILSAFE error when attempting custom POST - How do I fault find for this?
...0.1/lib/rack/utils.rb:
323:in `loop''
/opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb:
323:in `parse_multipart''
/opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/request.rb:
133:in `POST''
/opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
methodoverride.rb:15:in `call''
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/params_parser.rb:15:in `call''
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.3/lib/
action_controller/session/cookie_store.rb:93:in `call''
/opt/local/lib/ruby/gems/1.8/...
2010 Apr 09
3
"We're sorry, but something went wrong"
...t/connection_pool.rb:361:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/string_coercion.rb:25:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
`call''
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
methodoverride.rb:24:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/params_parser.rb:15:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/
action_controller/session/cookie_store.rb:93:in `call''
C:/Ruby/lib/ruby/gems/1.8/gems/acti...
2009 Jun 09
3
NameError what is it?
...ve_record/connection_adapters/abstract/connection_pool.rb:361:in
`call''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in
`call''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in
`call''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in
`call''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in
`call''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack...