MapleCity Blog

MapleCity Blog header image 4

Rails Notes

February 1st, 2008 · No Comments

Rails Notes Common Commands Create a rails site by using the command: rails <site_name> Start built-in webrick server by specifying: script/server Stop the webrick server by pressing: ctr-c The webrick server runs on port 3000 by default Controller .rb To generate a controller you use the generate script: script/generate controller <controller_name> The generate script in [...]

[Read more →]

Tags: Programming