On 3/8/06, Manish S. firstname.lastname@example.org wrote:
Does anyone know the easiest way to put up a splash page where people can
add their email addresses to be notified when the site is ready? I want
regular visitors to be directed to this page.
I would create a “signups” model with email_address and maybe a date
to start. Then a “signup” controller with action “index”. You can set
environment to point to this controller & action at the root of the
How can i have this and still be able to test/develop the site?
I’ve seen two different approaches, usually in some combination:
“Develop locally, publish globally”: Publish the basic sign-up page to
your server, then stop. Run WebBrick on your development machine.
Test/develop locally all you want, just don’t send any more to the
until it’s ready for primetime.
“You have to know what’s there”: Put everything on the server, but
mynewsite.com to your signup page. You then surf past the front page, to
mynewsite.com/controllername/action or whatever. You may want to use a
filter to force login on those, too.