So, I always wanted to find a way of memcaching via ActiveRecord, without having to re-invent the wheel 😉 My investigations initially took me via CachedModel, cache_fu and finally I settled on cache-money. Seems to be *almost exactly* what I wanted - any lookup goes via memcache, any update /edit goes via ActiveRecord + memcache … Continue reading Musings on cache-money – Part I
Month: October 2009
Converting dos(windows) files to unix files
While using windows we get ^M characters in files that will get displayed when you open files on unix machines.To remove such ^M characters,Install dos2unix package usingsudo apt-get install sysutilsConvert individual filedos2unix file_pathRun following command to convert recursively all the files inside directory.find . -type f -exec dos2unix {} \;sudo apt-get install sysutils
Start with Cucumber—>A utility for automated testing
Cucumber Introduction: Cucumber is the Acceptance Test Driven Development called Acceptance Test Driven Planning. In this type of testing we use customer acceptance tests to drive the development of code. Thus it is collaborative effort between the customer and the delivery team. Sometimes they are written by the delivery team and then reviewed/approved by the … Continue reading Start with Cucumber—>A utility for automated testing
