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

Ruby on the web (ruby@uniovi workshop)

Ruby on the web (ruby@uniovi workshop)

Slides

Day 2 slides from ruby@uniovi, a 2-day workshop which was held in the University of Oviedo (Spain), from 4th to 6th March 2015.

During day 2 students enjoyed a hands-on lab oriented towards web development. Sample app and assignments are freely available at https://github.com/ruby-uniovi/jukebox-sinatra

All workshop materials are available at https://github.com/ruby-uniovi

Daniel Carral

March 06, 2015
Tweet

More Decks by Daniel Carral

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