26 Aug '12, 1am

#Ruby on #Rails :: How to add HTTP basic authentication to your staging app on @Heroku

Ruby on Rails :: How to add HTTP basic authentication to your staging app in Heroku First you set up your staging app following the Heroku’s guide for Managing Multiple Environments for an App Then edit the config/environments/staging.rb : #config/environments/staging.rb MyApp::Application.configure do # Basic authentication config.middleware.insert_after(::Rack::Lock, "::Rack::Auth::Basic", "My App") do |u, p| [u, p] == [ENV['HTTP_USER'], ENV['HTTP_PASSWORD']] end ... And finally set the config vars: heroku config:add HTTP_USER='foo' HTTP_PASSWORD='bar' -a myapp-staging

Full article: http://edgar.tumblr.com/post/30209472511/ruby-on-rails-ho...

Tweets

Enter the App era with Ruby on Rails by @matteo...

presentz.org 26 Aug '12, 11am

About Presentz - Terms of Service Presentz is free (as in free speech) software. You are strongly invited to hack, fork an...

RubyBits や、dotinstall の「Rubyの基礎」動画などを追加しました。 Ru...

qwik.jp 30 Aug '12, 12am

‚±‚̃y[ƒW‚ł́A–³—¿‚ÅŽg‚¦‚éƒIƒ“ƒ‰ƒCƒ“ŠwK‹³Þ‚ð‚Ü‚Æ‚ß‚Ä‚¢‚Ü‚·BRuby/Rails‚ð‚±‚ê‚©‚ç•×‹­‚·‚é•û‚́AŽŸ‚ÌŽ‘—¿‚Ì’†‚©‚玩•ª‚̃Œ...

Top Ruby Article: Rails: five year plan?:

rubyglasses.blogspot.com 26 Aug '12, 8am

My workplace is putting a tender out to a government body, hoping to secure some work for a big development happening soon...

#RubyOnRails Add a badge feature to an existing...

freelancer.com 30 Aug '12, 7am

Project ID: 2445694 Project Type: Fixed Project Description: There are two portions of this project: 1. Take a xls file an...

#FashionNews

#FashionNews

seaofshoes.typepad.com 04 Sep '12, 11pm

I have just arrived in New York and planned most of my outfits around my new favorite basic--a big sloppy sweatshirt with ...

ClockingIt Installation by CoolProgs: Hi , I ne...

freelancer.com 04 Sep '12, 1am

Freelancer.com (formerly GetAFreelancer) is the world's largest outsourcing and crowdsourcing marketplace for small busine...

#odesk: Ruby on Rails developer required to joi...

odesk.com 25 Aug '12, 1pm

Experienced Ruby on Rails + MySQL developer required to work alongside existing freelance RoR developer to build website f...

#softwaredevelopment Ruby on Rails (ROR) - Acco...

odesk.com 26 Aug '12, 7am

We are looking for a fixed price ROR developer who can finish an accounting module in our enterprise CRM. Ongoing work is ...