I am inside a model, and need to create another model, how to I pass ‘this’ as a parameter?
class User < AR
@company = Company.build_with_user(this)
So I’m trying to create the company association using a method from the Company model, and pass it a User parameter.
How do I pass ‘this’ in ruby?