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

Let's get started with Rails

Let's get started with Rails

Rails Girls Munich 2017

Michael Koriath

October 07, 2017
Tweet

Other Decks in Programming

Transcript

  1. 2

  2. 4

  3. Books for the project `rails generate scaffold book title:string pages:integer`

    create app/models/book.rb invoke resource_route route resources :books invoke scaffold_controller create app/controllers/books_controller.rb invoke erb create app/views/books create app/views/books/index.html.erb create app/views/books/edit.html.erb create app/views/books/show.html.erb create app/views/books/new.html.erb create app/views/books/_form.html.erb invoke assets invoke coffee create app/assets/javascripts/books.coffee invoke scss create app/assets/stylesheets/books.scss invoke scss create app/assets/stylesheets/scaffolds.scss 11
  4. Assets Images app/images Graphics ~ .png, .gif, .svg JavaScripts app/javascripts

    Interactivity ~ .js, .coffee Stylesheets app/stylesheets Style Language ~ .css, .scss 13
  5. Thanks to … - http://railsgirls.com - @jng5 https://speakerdeck.com/jng/railsgirls-munich-january-2016 (template) -

    https://www.iconfinder.com/icons/115779 (icons) - https://pixabay.com/en/sketchbook-book-notes-calendar-156775 (book image) Link to this slides: https://speakerdeck.com/protoswype/lets-get-started-with-rails Let’s get started! Michael Koriath
 @protoswyp3
 koriath.me 15