hyper-mesh
hyper-mesh copied to clipboard
The project has moved to Hyperstack!! - Synchronization of active record models across multiple clients using Pusher, ActionCable, or Polling
reported by @sfcgeorge
some aliases of belongs_to have a signature like this: `attr_name, scope = nil, opts = {}`, but in reality, it must be `attr_name, *args`.
These specs will fail: ```ruby it "can validate the presence of an association" do TestModel.validates_presence_of :child_models expect_promise do @test_model = TestModel.new @test_model.child_models
I have an activerecord column of the enum type. I get an "Exception raised while saving - FloatDomainError: NaN" error on the js console on save just before the model.save...
if for some reason you want to insure all attributes are loaded you have to say: ```ruby # trip is some record instance ... Hyperloop::Model.load do trip.attr1 trip.attr2 trip.attr3 trip...
see https://github.com/ruby-hyperloop/hyperloop-config/issues/18
add an event handler to save so that when_not_saving method can hook on, and wait for the save to complete.
If you do `Model.all.count` without for example doing a `Model.all.each ... ` . There will be no actual collection of records, just the count. If you create a new record...
just add any comments here for any you know of...