You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defself.for_query(model_class,query,column_key: :id,params_key: column_key, **, &block)# FIXME: defaulting is redundant with bla_explicit_positional.
83
-
query_on_model_class=->(ctx, **kws){model_class.instance_exec(ctx, **kws, &query)}# FIXME: we can only use procs here. what about methods, classes etc?
83
+
query_on_model_class=->(ctx, **kws){putskws.inspect;model_class.instance_exec(ctx, **kws, &query)}# FIXME: we can only use procs here. what about methods, classes etc?
84
84
85
85
finder=Macro.task_adapter_for_decider(query_on_model_class,variable_name: :model)# FIXME: {:model} is hard-coded.
0 commit comments