Please sign in to comment.
Kept getting this in our errors, under Self.Errbit rather than for ou…
…r app: NoMethodError: undefined method `' for nil:NilClass tracing to [PROJECT_ROOT]/app/models/notice.rb:127 → block in sanitize Looks like line can be nil, in which case line['blabla'] will make a SNAFU. A test for line not nil seemed the cheapest solution here.
- Loading branch information...