Closed nynhex closed 8 years ago
@brandonhilkert Ok, this looks to be an issue with my Model Call
conflicting with the Celluloid Call class and clobbering each other. This entire app was built around the Call
model. Is there any way I can work around this besides rewriting the app to acomodate celluoid?
Use "::" in front of your reference to "Call". So "call = ::Call.find(call_id)".
@brandonhilkert Sorry I totally overlooked that. Sorry, it's late. Thanks for your super quick response :+1:
I'm working to integrate sucker_punch into a rails 3.2.22 app. I'm wrote a simple job that sends an email via ActionMailer see code below:
To test it out I fire it from a command line with a call id from the Call model the app is built around.
When firing it from the console no exception is raised in my session, but in my development log I see the following exception/stack trace.
I am using sucker_punch 1.5.x. Does this look like a celluloid problem and if so what version of sucker_punch should I be using that would be compatible with Rails 3.2.22?
I was going to post this to stack but figured I'd drop an issue. It should be able to find the method
find
based off of the AR model Call that I have.Thanks in advance.