delight.fm: day 7

Signing out

Ryan Strickler
Jan 28, 2017 · 1 min read

Today I added the ability to sign out of my application. Pretty straightforward. I simply removed the session variable that I added yesterday to to indicate that the user was logged in, then sending them back to the home page, which shows different content as a result.

Then I spent a little time cleaning things up before moving on. I moved the Spotify callback code into the sessions controller and removed some unnecessary files, which helps keep things feeling nice and tidy.

I tested the API a little more and was able to create a playlist and retrieve some of my albums, which is so cool. Even after all these years, using a cool API still gives me a rush. In case you haven’t heard, this Internet thing is pretty rad.


Use code that you find online, but take the time to clean it up and make it fit into your project, or you’ll regret it down the road.

Little King: Daily Log

Building something every day.

Ryan Strickler

Written by

Building something every day. Launching something new every 6 weeks. Writing about everything along the way.

Little King: Daily Log

Building something every day. Launching something new every 7 weeks. Writing about everything along the way.

Ryan Strickler

Written by

Building something every day. Launching something new every 6 weeks. Writing about everything along the way.

Little King: Daily Log

Building something every day. Launching something new every 7 weeks. Writing about everything along the way.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

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