Mitch VanDuyn
Mitch VanDuyn
so works as described above... specifically params will look like this: ```ruby 'acting_user' => # current acting user, 'controller' => # the controller the request came in on (so you...
@sfcgeorge I cannot reproduce having the controller dumped anywhere. Can you show me how to reproduce?
the above issue about the log has been closed in hyper-operation... thanks for the heads up @sfcgeorge
you would actually add the method to InstanceMethods module
closed ab8637bc2b3a250f1e74544245375cb9806a7442
I think this is related to a bug just discovered. See https://github.com/ruby-hyperloop/hyper-mesh/blob/ebf661eecc592799b7723bb666c1d42d84551918/spec/batch3/many_to_many_spec.rb#L43 What happens in this spec if you watch in the debugger is that the Commenter structure on the...
I am thinking server_method is deprecated anyway in favor of using operations? I can't remember
@sfcgeorge so my understanding is that in the above all the `server_method` does is get the warning to go away in a very artificial manner. Is that correct? if so...
@janbiedermann in your redo of the AR method_missing code, you automatically treat assignment to a server method as writing to an attribute. Any reason why? My proposal is to allow...
similar problem exists elsewhere in permissions: ```ruby class ActiveRecord::Base def self.belongs_to(attr_name, *args) belongs_to_without_reactive_record_add_is_method(attr_name, *args).tap do define_method "#{attr_name}_is?".to_sym do |model| self.class.reflections[attr_name].foreign_key == model.id end end end end end ```