Electronic Signatures with the Docusign API Discussion
Hi, I am new here. I am getting an error when testing the code on the console. It creates the user but then it gives me:
NameError: undefined local variable or method `template' for #<class:0x537c960>
from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-5.0.6/lib/active_record/dynamic_matchers.rb:21:in `method_missing'
from D:/OneDrive/Apps2/Maretta-credit/app/models/envelope.rb:21:in `create_from_template'
Where should I look?
Traceback (most recent call last): 2: from (irb):16 1: from app/models/envelope.rb:5:in `create_from_template' ArgumentError (wrong number of arguments (given 2, expected 1))
I've gone through the .rb files to make sure there were no discrepancies, and I didn't find any. But I know I made a mistake somewhere