i'm adding pjax to an old rails app and am wondering if there's a good way to override every controller method? i need to be able to not render the layout if the pjax header is in the request.
im hoping to loop through 100 models with batches of 5. ie the enumerator will get executed 20 times with batches of 5 models
hey all, i have an AR accessor on a model called `index`. a gem i just installed has it's own method called `index` for AR models. what's the best way to redefine mine without having to rename the column?
i have a dalli / memcached cache store. whenever i call Rails.cache.fetch(key) (with no expiration or options) the cache does not seem to live indefinitely
memcache doesn't have some sort of auto expiry built in does it? i used to have a key that was supposed to expire every 24 hours but now i've removed that option and the query still seems to run every 24h.
hey all, i moved my deploy (git) machine to a new network and now i'm having trouble deploying with capistrano. cap keeps saying fatal: The remote end hung up unexpectedly. is there a problem with the ssh key?
i'm using ssh forwarding agent with capistrano and i can access the git repository locally just fine.