Project

General

Profile

Revision fb471374

Added by Michael Moll over 4 years ago

Update to Rails 5.1

  • Fixes #21814 - Add Rails 5 migrations
  • Refs #22045 - update TargetRailsVersion for rubocop
  • Refs #22045 - use ApplicationRecord
  • Refs #22045 - stop using HttpPositionalArguments
  • Fixes #22046 - use rubocop 0.52

View differences:

app/models/docker_container_wizard_state.rb
1
class DockerContainerWizardState < ActiveRecord::Base
1
class DockerContainerWizardState < ApplicationRecord
2 2
  has_one :preliminary, :class_name => DockerContainerWizardStates::Preliminary,
3 3
                        :dependent => :destroy, :validate => true, :autosave => true
4 4
  has_one :image, :class_name => DockerContainerWizardStates::Image,

Also available in: Unified diff