Project

General

Profile

Revision fb471374

Added by Michael Moll about 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_states/image.rb
1 1
module DockerContainerWizardStates
2
  class Image < ActiveRecord::Base
2
  class Image < ApplicationRecord
3 3
    self.table_name_prefix = 'docker_container_wizard_states_'
4 4
    belongs_to :wizard_state, :class_name => DockerContainerWizardState,
5 5
                              :foreign_key => :docker_container_wizard_state_id

Also available in: Unified diff