Allen Hsu
Allen Hsu
I ran into something similar today. You cannot use money objects in `where` conditions. This came as a surprise to me as it should be supported by serializers automatically. However,...
## Resolution: I dug around in the XML and I have noticed this:  Some weirdness around the the definedNames: `[1]Lists!$B$1:$B$3` - I...
@yakirp good suggestion. I tried the builtin DPR before using `srcset`. Now that I think about it I could probably replace the image tag creation with the DPR option. Something...
I have settled on disabling autoloading for frontend in tests for now.
Actually tried to deploy this but similar issues cropped up in production.
Ok @nicolas-brousse I'll give it a go. Is that only in production?
If you just want to assert some HTML eg. testing your logic in the component.rb is correct, a method to do this is using the render anywhere methods in Rails...
OK thanks for the reply @Spone . I'll do some more testing and post the results back here. Closing for now.
For future reference. I did some more digging and this is more of a problem in development. Nested partials and using render without the collection helper will still degrade performance...
@Spone I see this as ActionView's problem. A performance optimisation could be made to keep the compiled template in memory during a single page render rather than going to disk...