Post stuff, rank it, let others rank, comment
Mount the engine
YourApp::Application.routes.draw do mount Rankit::Engine, :at => "/rankit" end
Copy its migrations
bundle exec rake rankit:install:migrations
bundle exec rake db:migrate
Create a seed file with a test user
user = Rankit::User.new :email => 'email@example.com' user.password = '12345' user.password_confirmation = '12345' user.save
Seed the database
bundle exec rake db:seed
Start the server
bundle exec rails server
127.0.0.1:3000/rankit/users/sign_in, login and enjoy.
About the Author
Crowd Interactive is a leading Ruby and Rails consultancy firm based in Mexico currently doing business with startups in the United States. We specialize in building and growing your existing development team, by adding engineers onsite or offsite. We pick our clients carefully, as we only work with companies we believe in. Find out more about us on our website.