benoit torrent
Joined
1,720 Experience
17 Lessons Completed
0 Questions Solved
Activity
I miss something because when I do for example:
MentionNotifier.last
the error:
/scoping.rb:127:in value_for': undefined method
name' for nil:NilClass (NoMethodError)
scope_type[klass.name]
^^^^^
Or MentionNotifier.new
error:
/model_schema.rb:560:in load_schema': undefined method
synchronize' for nil:NilClass (NoMethodError)
@load_schema_monitor.synchronize do
^^^^^^^^^^^^
someone can pointing my mistake?
At 2:34 the migration don't have foreign_key: true for t.belongs_to :event, null: false. What impact that make to not mention that?