app/models/bulk_action.rb in geoblacklight_admin-0.5.1 vs app/models/bulk_action.rb in geoblacklight_admin-0.6.0

- old
+ new

@@ -1,9 +1,10 @@ # frozen_string_literal: true require "uri" require "cgi" +require "statesman" # BulkAction class BulkAction < ApplicationRecord # Callbacks after_create do @@ -17,10 +18,10 @@ # Validations validates :scope, :field_name, :field_value, presence: true # States - include Statesman::Adapters::ActiveRecordQueries[ + include ::Statesman::Adapters::ActiveRecordQueries[ transition_class: BulkActionTransition, initial_state: :created ] def state_machine