Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `groups' for nil:NilClass #6

Open
artb1sh opened this issue Mar 7, 2014 · 1 comment
Open

undefined method `groups' for nil:NilClass #6

artb1sh opened this issue Mar 7, 2014 · 1 comment

Comments

@artb1sh
Copy link

artb1sh commented Mar 7, 2014

У групп допустимы только числовые значения?

Class:0x000000065ee330#_app_views_timetable_classrooms__pair_html_haml__663674099224533906_51974960

app/views/timetable/classrooms/_pair.html.haml, line 1
A

Class:0x000000065ee330#_app_views_timetable_classrooms__week_in_day_html_haml__1630121540623069094_52304620

app/views/timetable/classrooms/_week_in_day.html.haml, line 5
A

Class:0x000000065ee330#_app_views_timetable_classrooms__day_html_haml__2336864685464283342_53056540

app/views/timetable/classrooms/_day.html.haml, line 16
A

Class:0x000000065ee330#_app_views_timetable_classrooms__time_html_haml__4214253060168136861_53507680

app/views/timetable/classrooms/_time.html.haml, line 4
A

Class:0x000000065ee330#_app_views_timetable_classrooms_show_html_haml__3912125422952908418_56985180

app/views/timetable/classrooms/show.html.haml, line 21

@Envek
Copy link
Member

Envek commented Mar 7, 2014

undefined method groups' for nil:NilClassв строке- flow = p.charge_card.groups.map{|g| g.name }.join ", "`скорее всего означает, что у пары не выставлена карточка нагрузки в редакторе расписания.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants