fix rubocop issue

This commit is contained in:
Shlok Srivastava 2017-04-28 10:22:41 +00:00
parent e92114a257
commit e3174fa277
4 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
class Event < ActiveRecord::Base
include ActiveRecord::Transitions
scope :vote, -> (votable_fields) { votable_fields.each { |field| ratyrate_rateable field.title } }
scope :vote, ->(votable_fields) { votable_fields.each { |field| ratyrate_rateable field.title } }
has_paper_trail on: [:create, :update], ignore: [:updated_at, :guid, :week], meta: { conference_id: :conference_id }