Skip to content

otamm/tutorialApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample App for the Rails tutorial.

Deployment to Heroku:

$ heroku login $ git push heroku master <pushes the master branch, which is supposed to be the most complete and functional of all.> $ heroku pg:reset DATABASE <if a lot of new content was added/deleted> $ heroku run rake db:migrate $ heroku run rake db:seed $ heroku restart

Regex Table:

/\A[\w+-.]+@[a-z\d-.]+.[a-z]+\z/i : full regex / : start of regex \A : match start of a string [\w+-.]+ : at least one word character, plus, hyphen, or dot @ : literal “at sign” [a-z\d-.]+ : at least one letter, digit, hyphen, or dot . : literal dot [a-z]+ : at least one letter \z : match end of a string / : end of regex i : case-insensitive

APP BASIC STRUCTURE:

-app/: where the models, views and controllers are located. Most of the customized code goes here.

About

Tutorial app for Rails 4. See more details on README.md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published