rack
Trouble on routing Racks
I am using Ruby on Rails 3 and I would like to route some URLs to some Rack middlewares. That is, if a user try to browse at http://<my_site_name>.com/api/user/1 the system should consider to ru[详细]
2023-02-13 06:34 分类:问答How to install and use the Ruby on Rails metal generator?
I am using Ruby on Rails 3 and I am trying start using Rails Metal. Typing the following in the Terminal[详细]
2023-02-11 21:52 分类:问答Rack and rack.request.form_vars / rack.request.form_hash
I am doing some middleware that changes the authenticity_token param before it gets to Rails. I can see that env开发者_Go百科.inspect gives both rack.request.form_vars and rack.request.form_hash. Bo[详细]
2023-02-11 05:33 分类:问答Omniauth: How to set authentication provider details at runtime
I have a rails app that is accessible from 2 domains. Facebook requires me to register a facebook app for each of these domains and gives me credentials for each. With Omniauth I can only specify one[详细]
2023-02-10 11:14 分类:问答rack session resets/expires
Currently 开发者_运维技巧I am using enable :sessions for my sinatra webserver. But I need to move into a memory based session management[详细]
2023-02-10 09:02 分类:问答While using refinery ruby (Rack) application could not be started
I just instal开发者_StackOverflowled a new rails 3 application on ruby 1.9.2 for the first time using Refinery CMS.[详细]
2023-02-10 03:11 分类:问答Why does OmniAuth pass requests onto the next middleware?
OmniAuth works great, but I\'ve noticed when using it in a Rails v2.3.6 app that it passes requests on to the next Rack middleware, even though it ends up handling the request itself, and responding w[详细]
2023-02-09 21:21 分类:问答how to change default behaviour of rack offline
I am trying to use rack offline in rials to make my webpage available offline. By default rack offline takes all files from the public folder into the cache manifest. In which file should I make chang[详细]
2023-02-09 05:35 分类:问答Which dispatch.fcgi provides the same behaviour as "rackup"
I have a 开发者_如何学编程ruby rack application that I would like to manage behind FCGI. What should I put inside the dispatch.fcgi file so the executed application matches/uses the content of config[详细]
2023-02-08 22:42 分类:问答Is there one Rack app instance per HTTP request?
I\'m building a Facebook app called Lovers, using a Sinatra app on Heroku. It\'s running on Ruby 1.9.2 on Heroku\'s bamboo-mri-1.9.2 stack.[详细]
2023-02-08 18:13 分类:问答