chabgood

Joined 10/29/2016
chabgood said almost 2 years ago:

Would touch: true accomplish the same task? 

kobaltz PRO said almost 2 years ago:

Only if your cache key included the updated_at attribute or similar. Part of the issue is also when you have a collection of records as you might find in Russian Doll Caching. Even if the individual record's cache is expired, you will still need to expire the outer cache (parent cache) as well since it is stale at this point.    


chabgood said over 1 year ago:

I am getting this error:

#<Mysql2::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)>

chabgood said 4 months ago:

I have a rails 5 app that is an API, I am getting this error:
It was working fine before I added the gem.
ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'disclosure_forms.name' in 'where clause': SELECT disclosure_forms.* FROM disclosure_forms WHERE disclosure_forms.name = 'Chris Habgood' LIMIT 1):