Ask A Question

Notifications

You’re not receiving notifications from this thread.

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'
from (irb):13
Where should I look?

Reply

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
Create an account Log in

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.