RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: goddamnhippie
Site: goddamnhippie.com
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.
.env
https://github.com/ddollar/foreman/blob/master/lib/foreman/cli.rb#L134
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) }
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.https://github.com/ddollar/foreman/blob/master/lib/foreman/cli.rb#L134
You can also pass other options such as form in the initializer to override the login form. Like this: