ruby on rails - NoMethodError: undefined method 'admin_users' -


i'm new rails i'm working on lynda.com ruby on rails 5 essential training. got section 6 last part titled "traverse rich association". rails console used command section.admin_users , got

nomethoderror: undefined method `admin_users' #<section:0x000000033e76c0>.  

i followed tutorial , compared code example files , see no reason may getting error. have github repo code. not sure why this.

as sharvy suggested restarting console fixed issue.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -