Run the generator to add the migration and model to your project:
rails g fav_star rake db:migrate
Add to your users / voters:
acts_as_faver
Add to your faveable models:
acts_as_faveable