Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: paddydub
You can pass a :display =>"popup", to open the omniauth dialog in a popup:
provider :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET'], :display => "popup"
Turn omniauth facebook login into a popup (StackOverflow)