...
/Reference Data, Global Context, and UI State Are Exceptions
Reference Data, Global Context, and UI State Are Exceptions
Learn about reference data, global context, and UI state exceptions that we might face in our application.
We'll cover the following...
Managing specialized data in Rails applications
Almost every Rails app has a method called current_user
that exposes an object representing who is logged in. It’s also common to need a list of reference data, such as country codes, in order to build a drop-down menu or other piece of UI. Lastly, it’s ...