Hello my dear friends. Today we will speed up our rails applications using webp images. What is WebP? WebP is an image format that employs both lossy and lossless compression. It’s been developed by Google and, as we can see Continue
Ruby doesn’t have procedural module akin to Python or Perl module. Usually, one uses class methods as a typical way to mimic this functionality. Class methods in Ruby are also very handy for supporting instance methods with fabrics and other Continue
Hello my dear friends. Today, we will continue talking about Chef Server, and all the example code can be found here: github.com/le0pard/chef-server-example/tree/2.0. In the previous article we’ve learned Chef, Chef Server and its setup process. In this article we’ll figure Continue
Quite a lot of applications face the problem of storing configuration data, where configuration differs for development, test and production environments. Yaml files is a common way of organising application settings. They help make our configuration clean, as well as Continue
Hello my dear friends. Today we will continue to talk about Chef Solo. All the example codes mentioned here, you can find at: github.com/le0pard/chef-solo-example/tree/5.0. In the previous article, we’ve learned about Chef cookbooks. In this article we will learn what Continue
Preface In Rails, automatic code reloading in development mode is based on autoload, which is not threadsafe. It means you can’t use it while developing multithreaded Rails applications(especially for JRuby). But several monkeypatches can do the trick.
Update (2012, 10 December) Authologic-team patched weird behavior with (I)LIKE and now Postgres users can make everything without clutches. Just use new version 3.2.0. Introduction User authentication – is the most utilized part of Authlogic gem. But default configuration of Continue