RAILS_GEM_VERSION filter query updated