lib/engine2/action_node.rb in engine2-1.0.5 vs lib/engine2/action_node.rb in engine2-1.0.6

- old
+ new

@@ -36,11 +36,11 @@ def access_forbidden! access! &ACCESS_FORBIDDEN end def check_access! handler - !@access_block || @access_block.(handler) + !@access_block || @access_block.(handler) end def run_scheme name, *args, &blk result = instance_exec(*args, &SCHEMES[name]) result.instance_eval(&blk) if blk @@ -160,10 +160,9 @@ model_nodes = {} each_node do |node| if model = node.*.assets[:model] model_name = model.name.to_sym - model.synchronize_type_info model_nodes[model_name] = node.to_a_rec{|a| !a.*.assets[:assoc]} node.run_scheme(model_name) if SCHEMES[model_name, false] false else true \ No newline at end of file