Skip to content
A simple Rails template for building a functioning app with a user model, Facebook sign in, and regular sign in.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
files
README.md
social_template.rb

README.md

This template enables you to use one simple command to generate a full Ruby on Rails application with a functioning User model (with "Follow" and "Unfollow" actions), Facebook sign-in, and regular user-provided sign-in. It should save you a good 3-4 hours of setup time to get your basic applications going.

Using the template is easy:

rails new test_app -m templatedir/social_template.rb

After you've run the template, you will need to do the following:

  1. Change "TestApp" in config/routes.rb to correspond to the name of the app you specified on the command line.
  2. Add your Facebook developer credentials (http://developer.facebook.com) to the config/initializers/facebook.rb file.
  3. Change the name of your app and any other string literals in config/locales/en.yml.
  4. Run db:migrate

That's it!

This template is provided for free. Free to use. Free to modify. Free to share. If you do modify the template, please be sure to include the text below this line as a courtesy. If you have any feedback, send it to feedback@strategicnerds.com.

This template was originally created by Strategic Nerds. The source code is based on the excellent Ruby on Rails Tutorial by Michael Hartl. Be sure to check out our first app: Mannequin, the app that helps you get personalized service everywhere you go in the real world. http://www.mannequinapp.com

Something went wrong with that request. Please try again.