Learn

Congratulations! You built a messaging app that uses a database to store messages. What can we generalize so far?

  • A model represents a table in the database.
  • A migration is a way to update the database with a new table, or changes to an existing table.
  • Rails provides seven standard controller actions for doing common things such as display and create data
  • Data can be displayed in the view using ERB web templating.
  • Data can be saved into the database using a web form.

Sign up to start coding

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Already have an account?