Sha256: 57c2731ad408f92646f919c71de31a013102f89a0bb6010f737256c29220d10a
Contents?: true
Size: 1.28 KB
Versions: 4
Compression:
Stored size: 1.28 KB
Contents
# encoding: utf-8 require 'devise' require 'devise_facebook_open_graph/rails' module DeviseFacebookOpenGraph module Facebook extend ActiveSupport::Autoload autoload :Config autoload :Session end module Rails extend ActiveSupport::Autoload autoload :ViewHelpers autoload :ControllerHelpers end end require 'devise_facebook_open_graph/strategy' require 'devise_facebook_open_graph/schema' module Devise # # Specifies database column name to store the facebook user id. # mattr_accessor :facebook_uid_field @@facebook_uid_field = :facebook_uid # # Instructs this gem to auto create an account for facebook # users which have not visited before # mattr_accessor :facebook_auto_create_account @@facebook_auto_create_account = true # # Runs validation when auto creating users on facebook connect # mattr_accessor :run_validations_when_creating_facebook_user @@run_validations_when_creating_facebook_user = false # # Skip confirmation loop on facebook connection users # mattr_accessor :skip_confimation_for_facebook_users @@skip_confimation_for_facebook_users = true end Devise.add_module(:facebook_open_graph_authenticatable, :strategy => true, :controller => :sessions, :model => 'devise_facebook_open_graph/model' )
Version data entries
4 entries across 4 versions & 1 rubygems