这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions lib/acts_as_indexed/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Configuration
# Set to true to enable.
# Default is false.
attr_accessor :case_sensitive

# Disable indexing, useful for large test suites.
# Set to false to disable.
# Default is false.
Expand Down Expand Up @@ -78,11 +78,7 @@ def if_proc
private

def default_index_file
if Rails.root.writable?
Rails.root.join('index')
else
Rails.root.join('tmp', 'index')
end
Rails.root.join('tmp', 'index')
end

end
Expand Down