[ad_1]
Today, we will begin writing embedded ruby code (ERB) to interact with the Devise gem and determine what type of navigation bar to load for a given user. We will be splitting our existing navigation bar into two separate navigation bars. Finally, we will be requesting the user model of the signed-in user to access various user attributes for displaying inside of the navigation bar.

Download this project’s files at:

——– SUGGESTED READING ——–

“Clean Code” by Robert C. Martin:
“Game Coding Complete” by Mike McShaffry:
“JavaScript and JQuery” by Jon Ducket:

——– ADDITIONAL INFORMATION ——–

Creating, updating and managing DevFactor’s large collection of tutorials requires many hours of work on a weekly basis. If you have found our tutorials useful, please support us by subscribing and sharing our videos on social media.

If you have any feedback in regards to how we could improve the channel’s content, editing, or organization feel free to get in touch and make a suggestion!

Subscribe on YouTube:

——– GENERAL INFORMATION ——–

DevFactor offers high-quality, project based tutorials on web development, game development and software engineering. Simply by subscribing you can gain access to our large library of free programming video tutorials.

DevFactor was started in order to aid anyone regardless of age, race, gender or location to learn how to build, maintain and deploy their own software applications.

#programming #code #devfactor