Giter VIP home page Giter VIP logo

mod2_core_learning_checklist_rails's Introduction

Mod2 Core Learning Checklist (Rails)

  1. What are the 7 RESTful routes (HTTP Verb + URL)? What is the purpose of each action?
  1. What is the MVC Paradigm?
  • What are the responsibilities of the Models?
  • What are the responsibilities of the Views?
  • What are the responsibilities of the Controllers?
  1. How are the values of the params hash assigned? How are the keys assigned?
  • Between a user and a programmer, who has control over the keys?
  • What about the values?
  1. An example of a route in Rails looks like the following: get '/hats', to: 'hats#index'. What are the four parts of that route and what is the responsibility of each part?
  1. What does the resources keyword in routes do for us?
  1. There are 4 generic path helpers that come from Rails. Which of the 4 requires an argument? Which does not?
  1. Which of the 7 RESTful actions require you to find an instance from the database? Which does not?
  1. Which of the 7 RESTful actions alters the database and where do these actions get the necessary information from?
  1. When do we use <% %> vs <%= %>?
  1. What are some differences between render and redirect_to?
  1. What are the arguments for a link_to? What are the arguments for a button_to? What are some differences between the two?
  1. form_for is a form for something, i.e. a form_for takes something as an argument. What is that something?
  1. What does the action and method keywords in a form do? How do we assign the action and the method for a form_forand a form_tag?
  1. When would be an appropriate time to use a collection_select? What are the four arguments that a collection_select take?
  1. How do we show the associated objects of an object on a its show page? where does this helper method come from/where is it defined?
  1. When do validations occur? Where should we write them in our server?
  1. If the user fails to meet some validations, how do we give the user the feedback for why the database was not altered?

mod2_core_learning_checklist_rails's People

Contributors

dwire avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.