Devise with Omniauth for facebook authentication?

2 errors are different 1. Error: LoadError (no such file to load -- omniauth/core) You need to add omniauth to your Gemfile and run 'bundle install'. If you've problem with it this Railscast might help: Railscasts Omniauth 1 Also see 2 Devise videos on Railscasts 2.

Error: ActionController::RoutingError (No route matches "/") It says you haven't configured your app to have a main root. The main root is which matches First choose which page you would like as landing page you or homepage. If you haven't created one then do it Next you can find all named routes from shell by "rake routes Then open config/routes.

Rb file and add main root by: root :to => 'welcome#index substitute "welcome#index" with "your_chosen_controllers_name#chosen_method Don't add a named route created by Devise because it will end up with infinite loop ("stack level too deep" error) Note that Devise wiki recommend no to use Devise if you've no prior experience with Rails. In this case I highly recommend to checkout Rails3.1 new has_secure_password? Method HTH.

2 errors are different. 1. Error: LoadError (no such file to load -- omniauth/core) You need to add omniauth to your Gemfile and run 'bundle install'.

If you've problem with it this Railscast might help: Railscasts Omniauth 1 Also see 2 Devise videos on Railscasts. 2. Error: ActionController::RoutingError (No route matches "/") It says you haven't configured your app to have a main root.

The main root is which matches "/". - First choose which page you would like as landing page you or homepage. If you haven't created one then do it.

- Next you can find all named routes from shell by "rake routes". - Then open config/routes. Rb file and add main root by: root :to => 'welcome#index' substitute "welcome#index" with "your_chosen_controllers_name#chosen_method" Don't add a named route created by Devise because it will end up with infinite loop ("stack level too deep" error).

Note that Devise wiki recommend no to use Devise if you've no prior experience with Rails. In this case I highly recommend to checkout Rails3.1 new has_secure_password? Method.HTH.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions