rack
Heroku | Different performance parameters for different parts of your application
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[详细]
2023-02-19 00:45 分类:问答Using Cookies with Rack::Test
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[详细]
2023-02-18 11:33 分类:问答How to use cookies in a Rack middleware?
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[详细]
2023-02-18 00:07 分类:问答Issue adding omniauth as middleware
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\'.[详细]
2023-02-17 13:09 分类:问答Rack::Auth::Basic destroying session (log out)
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[详细]
2023-02-16 15:18 分类:问答What is rack? can I use it build web apps with Ruby?
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?[详细]
2023-02-16 14:40 分类:问答Best Buy IdeaX using Rack on Heroku
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[详细]
2023-02-14 17:32 分类:问答The Rails Metal in Ruby on Rails 3
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[详细]
2023-02-14 15:57 分类:问答Fetching Data for Ruby's Rack App in specific time interval
I have a very simple ruby rack app which retrieves information from a webservice and converts it to JSON.[详细]
2023-02-14 00:31 分类:问答How do I specify that I want Vim to treat .ru files like .rb files
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[详细]
2023-02-13 21:51 分类:问答