79770719

Date: 2025-09-21 07:31:19
Score: 0.5
Natty:
Report link

The same problem persists after all these 11 years.

The way I found to circumvent it was to create both a class AND an instance method called "create".

The class method calls:

def create(...)
  new(...).create
end

and the logic with the run_callbacks exists inside the instance method, also called create

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Everton J. Carpes