Electronic Signatures with the Docusign API Discussion
Discussion for
Electronic Signatures with the Docusign API
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'
from (irb):13
Where should I look?
I followed along but I keep getting the following in my rails console:
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