New Discussion

Notifications

You’re not receiving notifications from this thread.

Getting NoMethodError while calling method from Model_name.rb

1
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.

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.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.