Ruby on Rails



TEDxPURPLEWORKS
November 7, 2013

    RUBY ON RAILS #1


    • SASS/SCSS
    • live reload
    • rails route

    SASS/SCSS


    http://sass-lang.com/

    • pre-processing
    • variables
    • nesting
    • partials
    • import
    • mixins
    • extend
    • operators

    live reload


    refresh
    refresh
    refresh

    live reload!!

    rails route

    url to controller/action

    • route.rb
    • resources
      • GET /photos => index
      • GET /photos/new => new
      • POST /photos => create
      • GET /photos/:id => show
      • GET /photos/:id/edit => edit
      • PUT /photos/:id => update
      • DELETE /photos/:id => destroy
    • url helper




    Ruby on Rails #1

    By ChungSub Kim

    Ruby on Rails #1

    • 1,243