I am working with merit gem and I have a pages controller and an action 'fan'. I need the merit gem to add 10 score when user be a fan of a page. Modal is 'Fan'. Fan has a user.
score 10, :on => 'pages#fans', model_name: 'Fan', :to => :user
But this is not working. Any idea?