Week 2 Note 1

Didnt do these yet: 3. Ensure you have flash messages in app/views/layouts/application.html.erb. For example: * Not required for API-only Applications * 4. You can copy Devise views (for customization) to your app by running: rails g devise:views * Not required * because i think the flash messages come later? git branches: git checkout -b After you generate your model or your scaffold, it's a good idea to come into your migration file and just think about for each of your columns, is there a reasonable default value that you wanna set?

Apr 10, 2025 - 00:18
 0
Week 2 Note 1

Didnt do these yet:

3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       

<%= notice %>

<%= alert %> * Not required for API-only Applications * 4. You can copy Devise views (for customization) to your app by running: rails g devise:views * Not required *

because i think the flash messages come later?

git branches:

git checkout -b

After you generate your model or your scaffold, it's a good idea to come into your migration file and just think about for each of your columns, is there a reasonable default value that you wanna set?
Image description