Skip to content
Max Ivak
  • Startups
  • Development
  • Projects
  • About me
Tag: sessions

Rails: clear old sessions stored in database

rails, sessions December 14, 2013 Max Ivak | 1 Comment on Rails: clear old sessions stored in database

Sessions in Rails application can be stored in a database (as well as in cookies). I used to store session data in a table in database.

Sessions table may grow very large because Rails doesn’t have a built-in mechanism to clear old session data.

So you need to remove old sessions rows from database manually.

Continue reading →

Sessions do not work in Internet Explorer in Rails

cookies, rails, sessions December 29, 2012 Max Ivak | Leave a Comment on Sessions do not work in Internet Explorer in Rails

Recently I had a strange problem when sessions didn’t work on my site on Rails in production environment. The problem was in Internet Explorer while it worked in Firefox and Chrome.

Continue reading →

Popular

Rails best practices
DevOps best practices
Gems
Deploying Rails app with Capistrano 3

Recent Posts

  • Integrate Gem Engine and main Rails application
  • Deploying Rails app using Docker and Capistrano
  • Setup Letsencrypt SSL certificates using certbot
  • Vault as a Service
  • GUI for sortable tree for models organized by ancestry gem in Rails

Tags

.net actionmailer amazon android apache asp.net asp.net mvc AWS business models commandline css django Entiy Framework facebook gems git google analytics images it outsourcing memcached mysql nosql php profiling python rails regexp regular expressions rest ruby ruby on rails scalability screenshots sessions smarty soap solr sql ssl startups testing ukraine web services windows xmlrpc
© 2025 Max Ivak Blog