All threads / Solid design pattern folder structure

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Solid design pattern folder structure

Jules JAMET asked in Rails

How do we organize the model folder according to the example on the first episode of solid design ? Should we make another folder app/scripts or whatever ? How these new classes are imported into models in rails ? I am trying to reorganize my app according to this rule but I run into unknown variable problems. Thanks for your help !

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 52,026+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.