GoConqr has a new look! Let us know what you think.

Mind map

resource :article

Olga Salnikova English

Map content

resource :article

  1. model Article

  2. controller articles.controller.rb

    • actions (methods)
      • new
      • create
        • user fills "Title" and "Text" fields and presses "Save Article" button
          • the saved values are stored as a value of the hash and params method takes this hash
            • new object is initialized by params
              • new object are saved to the database
                • after object is saved the page is redirected to the show the created article
      • show
        • contains method which gets article by id from database
      • index
        • shows all created articles
  3. view

    • new.html.erb
      • form - form_with
        • "Title" and "Text" fields
        • "Save Article" button
    • index.html.erb
      • table which contains three columns: Title, Text and Show link
    • show.html.erb
      • displays separated article

Information

Description
Mind Map on resource :article, created by Olga Salnikova on 21/11/2017.
Created by
Olga Salnikova · Nov 2017
Updated
Nov 21, 2017
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?