When developing Rails applications, I rarely, if ever, include 'Rails' in my search terms, but rather drill down to the applicable component library: ActiveRecord, ActionController, Haml, Rack, etc.
I'm not entirely joking. I do the same thing you do (using ActiveRecord), but the way I got there was 1) searching "rails", 2) throwing in a term like ActiveRecord to avoid unrelated results, and final 3) realizing that "rails" was no longer necessary for the search.