Merge pull request #276 from openSUSE/review_140630_rubocop_fix_1
add skipped empty lines
This commit is contained in:
commit
16faf3bbe0
31 changed files with 35 additions and 29 deletions
|
|
@ -228,3 +228,4 @@ module Admin
|
|||
helper_method :social_event_count
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
8
app/models/event_person.rb
Normal file
8
app/models/event_person.rb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
class EventPerson < ActiveRecord::Base
|
||||
attr_accessible :event, :person, :person_id, :event_role
|
||||
# TODO Do we need these roles?
|
||||
ROLES = [["Speaker","speaker"], ["Submitter","submitter"], ["Moderator","moderator"]]
|
||||
|
||||
belongs_to :event
|
||||
belongs_to :person
|
||||
end
|
||||
|
|
@ -3,6 +3,6 @@ class Vote < ActiveRecord::Base
|
|||
|
||||
belongs_to :user
|
||||
belongs_to :event
|
||||
|
||||
delegate :name, to: :user
|
||||
|
||||
end
|
||||
|
|
|
|||
|
|
@ -15,4 +15,3 @@ class CreateEventPeopleTable < ActiveRecord::Migration
|
|||
drop_table :event_people
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -17,4 +17,3 @@ class CreateVenueTable < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@ class UserRolesTable < ActiveRecord::Migration
|
|||
drop_table :roles_users
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue