blob: b149d61d0d1f8faad9e30e6a4dac983881d96dc9 [file] [log] [blame]
require_gem "SimpleSearch"
#--######################################################################
# Copyright (c) 2006 LogicaCMG
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#
# Onno van der Straaten:: initial implementation
#++######################################################################
# {Copyright (c) 2006 LogicaCMG}[link:files/COPYRIGHT.html]
class ActiveRecord::Base
def self.make_searchable(list_of_field_symbols)
@searchable_fields = list_of_field_symbols
end
def self.searchable_fields
@searchable_fields
end
end
class MockContents
def latest_mtime
Time.at(0)
end
end