call class method ruby ruby class method call private method Class MyModel ActiveRecordBase def selfcreate_instance model MyModelnew in here you are not inside of the instance scope. Class B… Sunday, October 30, 2022 Edit