O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

resource :article

Olga Salnikova Inglês

Conteúdo do mapa

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

Informações

Descrição
Mapa Mental sobre resource :article, criado por Olga Salnikova em 21-11-2017.
Criado por
Olga Salnikova · nov 2017
Atualizado
21 nov 2017
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?