All threads / Electronic Signatures with the Docusign API Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Electronic Signatures with the Docusign API Discussion

Allan Ientz ·

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?

Allan Ientz ·

never mind. It was misspelling

Reply
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
Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,629+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.