Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Gustavo Beathyate's Profile

GitHub User: goddamnhippie


Comments by Gustavo Beathyate


If you use Heroku, it makes sense to use foreman in development. If you do that, you can put all your config vars in a .env file.


You can also pass other options such as form in the initializer to override the login form. Like this:

provider :identity,
    form: lambda { |env| SessionsController.action(:new).call(env) },
    on_failed_registration: lambda { |env| UsersController.action(:new).call(env) }