Search code examples
ruby-on-rails-4modelspree

How to discover spree e-commerce models?


I am new to ruby on rails and spree e-commerce too. what i want is to see all the models that manipulates this e-commerce framework poduct.rb, order.rb ... to understand relationships between all of them. But I did not find them


Solution

  • You can start by generating your domain model:

    This will generate a complete domain model of the project you are working on by looking at the relationships between the models.

    Hope this helps.