Sessions in Rails
Sessions provide a way to store any kind of data across requests. This could be user info, preferences, cart items etc.
Using sessions is fairly easy, Rails provides a session variable which is a dictionary with key-value pairs.
# Writes login of the...
codingwithaglassofmilk.hashnode.dev2 min read