Quantcast
Channel: FeedBunch:6de19091134e48e0b803bc6f709d4b9ef6d0ba64 commits
Viewing all articles
Browse latest Browse all 40

Fixed bug: ResetDemoUserWorker failed with a raised error if one of the...

$
0
0
Fixed bug: ResetDemoUserWorker failed with a raised error if one of the default feeds for the demo user existed in the DB but the demo user was not subscribed to it. It was caused by using .find to check if the demo user is subscribed, which raises an error if no record is found matching the condition. Now .find_by is used instead, which does not raise errors but returns nil instead if no matching record is found.

Viewing all articles
Browse latest Browse all 40

Trending Articles