Sha256: 8de39d628cd6c94c85d82ced713e49ec95045107e52e7d9cceea90fcf67fdef5
Contents?: true
Size: 781 Bytes
Versions: 4
Compression:
Stored size: 781 Bytes
Contents
# frozen_string_literal: true require 'tramway/core/engine' require 'tramway/collection' require 'tramway/collections/helper' require 'tramway/error' require 'font_awesome5_rails' require 'reform' require 'pg_search' require 'validators/presence_validator' module Tramway module Core class << self def initialize_application(**options) @application ||= Tramway::Core::Application.new options.each do |attr, value| @application.send "#{attr}=", value end end def application_object @application&.model_class.present? ? @application.model_class.first : @application end attr_reader :application end end end # HACK: FIXME module ActiveModel class Errors def merge!(*args); end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tramway-core-1.14.7 | lib/tramway/core.rb |
tramway-core-1.14.6.1 | lib/tramway/core.rb |
tramway-core-1.14.6 | lib/tramway/core.rb |
tramway-core-1.14.5.3 | lib/tramway/core.rb |