RAILS |CRUD|Overview

  1. Your html files are technically erb files. So you can actually use ruby code within them.
  2. Don’t forget the difference between “<%%>” & “<%=%>”
  3. The <%%> only allows you to process ruby code.
  4. The <%=%> only allows you to display the output of ruby code

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store