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
I am using Ruby on Rails 3 and I am trying start using Rails Metal. Typing the following in the Terminal
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
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
Currently 开发者_运维技巧I am using enable :sessions for my sinatra webserver. But I need to move into a memory based session management
I just instal开发者_StackOverflowled a new rails 3 application on ruby 1.9.2 for the first time using Refinery CMS.
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
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
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
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.