Sha256: d33d5540974c718fc5692a16a24c7c045d9d94950927e755e8c0b399f4a12863
Contents?: true
Size: 1.6 KB
Versions: 13
Compression:
Stored size: 1.6 KB
Contents
if RUBY_ENGINE == 'opal' require "reactive-ruby" require "reactive_record/active_record/error" require "reactive_record/server_data_cache" require "reactive_record/active_record/reactive_record/while_loading" require "reactive_record/active_record/reactive_record/isomorphic_base" require "reactive_record/active_record/aggregations" require "reactive_record/active_record/associations" require "reactive_record/active_record/reactive_record/base" require "reactive_record/active_record/reactive_record/collection" require "reactive_record/active_record/class_methods" require "reactive_record/active_record/instance_methods" require "reactive_record/active_record/base" require "reactive_record/interval" else module ::ActiveRecord module Core module ClassMethods def inherited(child_class) begin file = Rails.root.join('app','models',"#{child_class.name.underscore}.rb").to_s rescue nil begin require file rescue LoadError end # from active record: child_class.initialize_find_by_cache rescue end super end end end end require "opal" require "reactive_record/version" require "reactive_record/permissions" require "reactive_record/engine" require "reactive_record/server_data_cache" require "reactive_record/active_record/reactive_record/isomorphic_base" require "reactive_record/serializers" Opal.append_path File.expand_path('../', __FILE__).untaint Opal.append_path File.expand_path('../../vendor', __FILE__).untaint end
Version data entries
13 entries across 13 versions & 1 rubygems