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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -