Saving Data


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.
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.