Sha256: 24b8472e958f9d7a85ed17e5e724c5551909dfccdbad8058f6660fbff8b4d3c5
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 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" require "reactive_record/pry" Opal.append_path File.expand_path('../', __FILE__).untaint Opal.append_path File.expand_path('../../vendor', __FILE__).untaint end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reactive-record-0.7.38 | lib/reactive-record.rb |
reactive-record-0.7.37 | lib/reactive-record.rb |
reactive-record-0.7.36 | lib/reactive-record.rb |