Where To Find Things

Thav edited this page Sep 14, 2010 · 3 revisions

This page is meant to introduce developers new to rails and/or freehub to the directory structure of the project so one can easily find that which he or she seeks.

What Where Description
The objects for people, users, orgs, etc app/models This is where Rails stores its Models, see here for more info.
The pages themselves app/views This is where Rails stores its Views, see here for more info.
The code that interacts with the database and pages app/controllers This is where Rails stores its Controllers, see here for more info.
The stylesheets (CSS) public/stylesheets As any good modern web developer should, use these instead of inline formatting on views
The database information db/migrate If you need to change the database, use “script/generate migration changeName” to create a new migration and make the changes there, refer to the older migrations for this but do not edit them.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.