---
title: "Discussion on \"When rails fixtures and namespaces collide\" | Hashnode"
description: "Discussion on \"When rails fixtures and namespaces collide\". Testing helps Rails apps work properly and stops bugs. Fixtures are a useful testing tool. But fixtures can cause problems when models are namespaced.\nSay your app has a regular Vehicle model and a namespaced Vehicles::Car model. By convention, you'd..."
url: "https://hashnode.com/posts/when-rails-fixtures-and-namespaces-collide/64c10b2acc89e658217accac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [When rails fixtures and namespaces collide](https://ideas.krishnan.ca/when-rails-fixtures-and-namespaces-collide?utm_source=hashnode&utm_medium=feed)

Testing helps Rails apps work properly and stops bugs. Fixtures are a useful testing tool. But fixtures can cause problems when models are namespaced. Say your app has a regular Vehicle model and a namespaced Vehicles::Car model. By convention, you'd...

Jul 26, 2023 · 1 min read · ideas.krishnan.ca  
Read the article

-   [#rails](https://hashnode.com/tag/rails)
-   [#testing](https://hashnode.com/tag/testing)
-   [#minitest](https://hashnode.com/tag/minitest)

## Written by

[Ajay Krishnan](https://hashnode.com/@ajaynomics)

@ajaynomics · Toronto, Ontario, Canada

  
[View profile](https://hashnode.com/@ajaynomics)

Lawyer who codes

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
