0% found this document useful (0 votes)
192 views

Rails Files Cheatsheet

The document provides a cheat sheet for the directory structure of a Ruby on Rails application. It lists the main directories and files that make up a Rails app and briefly describes what each contains.

Uploaded by

khuonglh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
192 views

Rails Files Cheatsheet

The document provides a cheat sheet for the directory structure of a Ruby on Rails application. It lists the main directories and files that make up a Rails app and briefly describes what each contains.

Uploaded by

khuonglh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

What Goes Where

a Ruby on Rails cheat sheet by Amy Hoy

app/ apis/ xml-rpc API support


controllers/ controllers mm, business logic
helpers/ view helpers down with HTML!
models/ db models are just super
views/ html views make things purty
layouts/ page designs one for each controller
controllername/ action deisgns one for each method

public/
404.html 404 duh
500.html 500 sorry, service unavailable
images/ pics g-rated or otherwise
javascripts/ scripts for the kiddie in all of us
stylesheets/ css cuz you be stylin'

components/
all your components are belong to us

test/ coming soon

© 2005 Amy Hoy / [email protected] / www.slash7.com


MIT License — see http://www.slash7.org/cheats/license.html

You might also like