Ask A Question

Notifications

You’re not receiving notifications from this thread.

Getting NoMethodError while calling method from Model_name.rb

deepkhajanchi asked in General

I am testing a model class method from 'rails console' called "progress" which is inside class 'Okr' as 'Okr.progess'. But getting NoMethodError (undefined method progress' for Okr (call 'Okr.connection' to establish a connection):Class). It looks like console is not even fetching that method. I also tried establishing connection but after that getting NoMethodError (undefined methodprogress' for #Class:0x00007f4664104f30). Thank you in advance.

Reply

Now Gorails members can play world of solitaire for free online without download, install, or register.
word unscrambler is a simple online tool for unscrambling or solving scrambled words.

Reply
Join the discussion
Create an account Log in

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

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

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