Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby on the Web

Ruby on the Web

Slides from the second day of the ruby@uniovi workshop

Avatar for Diego Guerra Suárez

Diego Guerra Suárez

March 06, 2015
Tweet

More Decks by Diego Guerra Suárez

Other Decks in Programming

Transcript

  1. Ruby on the web Ruby: from 0 to 100 in

    14400 seconds (2) ruby@uniovi: Introducing the Ruby programming language School of Computer Sciences University of Oviedo March 2015
  2. Git

  3. “Code without tests is bad code. ” - Michael C.

    Feathers Working Effectively with Legacy Code
  4. ERB

  5. html = “<ul>” @artists.each do |artist| html << “<li>” html

    << artist.name html << “</li>” end html << “</ul>”
  6. $ heroku login $ heroku create $ bin/set_mongolab_in_heroku $ git

    push heroku workshop:master $ heroku logs -t