Sha256: 534cb5f4341c663b060ae06906460d5315705a2306525df85dcf60e527f282b2
Contents?: true
Size: 713 Bytes
Versions: 31
Compression:
Stored size: 713 Bytes
Contents
******************************************************************************* Ok, enough fancy automatic stuff. Time for some old school monkey copy-pasting. 1. Define a HOST constant in your environments files. In config/environments/test.rb and config/environments/development.rb it can be: HOST = "localhost" In production.rb it must be the actual host your application is deployed to. The constant is used by mailers to generate URLs in emails. 2. In config/environment.rb: DO_NOT_REPLY = "donotreply@example.com" 3. Define root_url to *something* in your config/routes.rb: map.root :controller => 'home' *******************************************************************************
Version data entries
31 entries across 31 versions & 9 rubygems