aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/null_relation.rb
blob: 60c37ac2b7af7b166e0d763105854059e47c421f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# -*- coding: utf-8 -*-

module ActiveRecord
  # = Active Record Null Relation
  class NullRelation < Relation
    def exec_queries
      @records = []
    end
  end
end