Sha256: 0f6e481dea6b18e75274991ba2551f0b7ac82a703e7ec2d1ff6eaa851c35af99

Contents?: true

Size: 530 Bytes

Versions: 25

Compression:

Stored size: 530 Bytes

Contents

# Somewhere in 2.3 RewindableInput was removed- rack supports it natively
require 'rack/facebook'
require 'rack/facebook_session'

ActionController::Dispatcher.middleware.insert_before( 
  ActionController::ParamsParser,
  Rack::Facebook
)

#use this if you aren't using the cookie store and want to use
# the facebook session key for your session id
# ActionController::Dispatcher.middleware.insert_before(
#   ActionController::Base.session_store,
#   Rack::FacebookSession,
#   ActionController::Base.session_options[:key]
# )

Version data entries

25 entries across 25 versions & 8 rubygems

Version Path
facebooker-1.0.75 lib/facebooker/rails/extensions/rack_setup.rb
sentientmonkey-facebooker-1.0.74 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-micah-1.0.74 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.74 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.73 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.72 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.71 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.70 lib/facebooker/rails/extensions/rack_setup.rb
benhutton-facebooker-1.0.69.2 lib/facebooker/rails/extensions/rack_setup.rb
benhutton-facebooker-1.0.69.1 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.69 lib/facebooker/rails/extensions/rack_setup.rb
cbaclig-facebooker-1.0.67.3 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.68 lib/facebooker/rails/extensions/rack_setup.rb
cbaclig-facebooker-1.0.67.2 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-lite-1.0.67.2 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-lite-1.0.67.1 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-lite-1.0.67 lib/facebooker/rails/extensions/rack_setup.rb
fotonauts-facebooker-1.0.67 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.67 lib/facebooker/rails/extensions/rack_setup.rb
facebooker-1.0.66 lib/facebooker/rails/extensions/rack_setup.rb