Andyagus / railsblog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails app get started steps

  • rails new myrailsblog
  • cd myrailsblog
  • add anything particular to your needs / project to .gitignore
  • git init
  • git commit initial commit
  • add line to config/application.rb to allow all attributes to be accessed
  • use console to create test users (or posts, or whatever)
  • if you change the routes file, you need to restart the server
  • define helpers in ApplicationHelper to make them available to all Controllers & Views (e.g. current_user)

About


Languages

Language:Ruby 58.6%Language:HTML 26.5%Language:CSS 11.3%Language:CoffeeScript 2.0%Language:JavaScript 1.6%