Commit 7d89cae45d7aa16750574d49a0a363a5c92556f2

Authored by Victor Costa
2 parents 71ccba18 ccc34577
Exists in production

Merge branch 'staging' into production

Conflicts:
	app/models/session.rb
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/models/session.rb
1 1 class Session < ActiveRecord::SessionStore::Session
2 2  
3 3 def self.find_by_session_id(session_id)
4   - where(session_id: session_id).all.first
  4 + connection.clear_query_cache
  5 + where(session_id: session_id).first
5 6 end
6 7  
7 8 belongs_to :user
... ...