An example Rails 3.2 app for a web startup prelaunch site.
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 21 commits ahead, 76 commits behind RailsApps:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
features
lib
log
public
script
spec
stories
vendor
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru
screenshot-error.png
screenshot-main.png
screenshot-success.png

README.textile

This is a fork of the excellent Rails Prelaunch Signup project

by DanielKehoe

This fork reduces the steps needed to capture an email address.

The notable differences:

  • No more modals: Email capture is moved to the primary landing page (instead of a secondary modal)
  • Design tweaks: Seems everyone wants a giant headline these days. Added copy placeholders.
  • Does not use social sharing buttons (might add later)
  • Uses erb instead of haml (but not all pages converted to erb)

Notes:

  • This is not yet compatible with Rails 4.0 see open issue. If you just need a quick way to throw up a coming soon landing page and don’t mind using a new framework, may I recommend using my Meteor project in the interim.
  • I’m not going to win any coding challenge awards (n00b), so proceed with caution. You’ll find a few hacks in here, but most are labeled as such.
  • If you want ongoing support, I strongly recommend you fork the original project and merge in my additions

Screenshots:
Landing Page
Error State
Success State

Credits

Daniel Kehoe (http://danielkehoe.com/) implemented the application and wrote the tutorial.
Chad Kruse (http://www.chadkruse.com) converted it to 1click submit.
Hat tip to pseudomammal for the tricky bug fixes.

MIT License

Copyright © 2012 Daniel Kehoe, Chad Kruse

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.