Open reiz opened 9 years ago
That is very strange indeed. If you can put the project up I can help you debug.
One idea, check other dependencies, did you update something else under the hood by bundle update
.
I kinda remember having an issue like this...
I think that is do to a change with behaviours around exposing models that may not have the method being exposed.
Previously this would work as long as it wasn't called, now it throws an exception.
Thanks for the input. I will give it a try again on the weekend.
I'm also having issues updating from 0.4.5 to 0.4.8. Before if a model did not have a method, it would that was exposed in an entity, it wouldn't raise any exceptions. Now there is a NoMethodError.
Seems to be that passing in safe: true
doesn't seem to work in conjunction with format_with
@epaulet please open a PR with a failing test or post an example here at least.
@marshall-lee I added a PR with a failing spec for this issue I was referring to. Not sure if it's related to the topic of this thread or not.
One of my projects is running stable with grape-entity
0.3.0
. But as soon I update to0.4.0
or higher some of my tests fail. The odd thing is that they fail randomly and it seems that the connection to MongoDB randomly fails. I'm getting errors like this:If I downgrade to
0.3.0
all tests are green again.Any idea what could be the reason?