lingui.st Translating software made easy

Face Recognition with Ruby

March 14, 2011 3 comments

We all know that we can search web pages for text, but there are services that go beyond a simple text search and use features like location and or image data. The hurdle relying on these features is that normally the end users have to enter manually the appropriate data. When was the last time [...]

Rails: Cron Job Scheduling using Redis, Resque and Rufus

March 4, 2011 5 comments

What is scheduling? In simple terms we can define scheduling as “the process of deciding how to commit resources between a variety of possible tasks“. The scheduling is basically a function which enables us to perform routine tasks at some predefined time or as part of a sequence. These tasks are normally executed in the [...]

Rails 3.1 release, rumors and news about features

February 23, 2011 4 comments

What is the current status of  Ruby on Rails 3.1? We all know that there isn’t a fixed roadmap/release date for Ruby on Rails 3.1, but there are definitely rumors about the new features and improvements. Yehuda Katz, a member of the Ruby on Rails core team, said “With 3.1 we’ll go back to basics [...]

Quicktip: Finding deprecated constants/methods easily

February 21, 2011 No comments yet

In Rails 3 a couple of constants/methods were set deprecated. However, there are still plugins which use them. This ends normally in the annoying log message: DEPRECATION WARNING: RAILS_ROOT is deprecated. Please use ::Rails.root.to_s. (called from <top (required)> at /Users/heli/hemju/programming/workspace/rubymine/linguist/config/application.rb:12) So what to do when you want to get rid of them? Find them, (optional) [...]

Rails 3 Quicktip: Auto reload lib folders in development mode

February 11, 2011 12 comments

One of our most popular article is “Rails 3 Quicktip: Autoload lib directory including all subdirectories, avoid lazy loading” in which we describe how autoloading the lib directory in Rails 3 can be done. However, one problem was still there, Rails 3 loads the lib directory on startup, but doesn’t reload the lib directory after [...]