RORB 2. Rails is like a team of departments
Rails App Directory Structure
Its important for you to become familiar with the folders of a rails app.
Create empty Rails App
Open in Terminal and create an empty rails app

Open the new rails directroy and get look at all the folders you get.
Rails is like having a team of departments that specializes in doing certain things in your project. you only had to type one line of code just to get setup.

There is much more to learn about the Rails Directory Structure but this is enough for beginners. Next will look at specific folders and see how they work in more detail.
-
-
- Post Body
-
There are also “Mailers” that live in the /app directory. They disingenuously are found in the /app/models directory, but I’ve long thought they should have their own home.
Mailers are classes that make sending emails really easy. When I moved from Enterprise Java to Rails, this is one of the things I was most impressed with. Now, however, I see all the ways the framework could be improved… Merb, really improves on Rails’ design.
-
- Quote
- Posted 8 months ago.
-
-
- Post Body
-
-
- Quote
- Posted 8 months ago.
Information
- 644 Views
-
Ratings
Likes
5
Negative
0
This work is public domain.