Bump rails to 5.2 and update rubocop

This commit is contained in:
John Lees-Miller
2020-05-30 09:40:57 +01:00
parent df28c040d4
commit 80216c6740
78 changed files with 373 additions and 149 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
ActiveAdmin.register AdminUser do
permit_params :email, :password, :password_confirmation

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
ActiveAdmin.register Attendee do
scope :child?
scope :diet?

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
ActiveAdmin.register_page 'Dashboard' do
menu priority: 1, label: proc { I18n.t('active_admin.dashboard') }

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
ActiveAdmin.register Guest do
permit_params :email, :first_name, :last_name, :attending, :diet, :songs,
:notes

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
ActiveAdmin.register PlusOne do
permit_params :first_name, :last_name, :diet, :child