Skip to main content

Electronic Signatures with the Docusign API Discussion

General • Asked by Chris Oliver

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?

never mind. It was misspelling


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

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.