Skip to content

Fix db after updating rails

Created by: Andrew8xx8

All scopes and factories must be in lambdas and blocks

For more information check out this http://blog.crowdint.com/2012/09/26/using-lambda-in-activerecord-scopes-that-involve-other-classes.html

Same problem was in the Factory Girl factories

Merge request reports