I have an Rails 3 application hosted on heroku, it has pretty common configuration where I have a client facing part of my application say: www.myapplication.com and an admin part of my application ad
I\'m trying to write RSpec tests for my Sinatra application using Rack::Test. I can\'t understand how I can use cookies. For example if my 开发者_如何学Capplication set cookies (not via :session) how
I am using Ruby on Rails 3 and I would like to use the cookies.signed method in a Rack middleware. I need that because I would like to authenticate a user directly in the middleware than of using a be
All - I\'m using Rails 2.3.5 and Devise.I\'m trying to integrate Onmiauth into my system.I\'m having issues adding it as middleware.The gem is installed as verfied by \'gem list\'.
I made authorization using Rack::Auth::Basic, it works, but I need to be able to destroy user session and let him 开发者_StackOverflowre-login or log out. How it can be made?There is no session associ
ruby newbie alert! (hey that rhymes :)) I have read the official definition but still come up empty handed. What exactly is it when they say middleware? Is the purpose using ruby with https?
I am attempting to create a fresh build of the Best Buy IdeaX platform on Heroku. I have followed all the instructions according to the git readme, but I am running into an issue.Whenever I attempt to
I am using Ruby on Rails 3 and I would like to implement some Rack middleware. I know (but maybe I am wrong!) that, before of version 3, there was the Rails Metal \"system\" to handle those. But now
I have a very simple ruby rack app which retrieves information from a webservice and converts it to JSON.
Whenever I use Vim with Ruby files, I get nice coloring and automatic indention on blocks. However, when I am editing a Rack file, I don\'t get thes开发者_运维问答e things. How can I extend my Vim/Rub