Switch to ruby block with action create