dougal / acts_as_indexed

Acts As Indexed is a plugin which provides a pain-free way to add fulltext search to your Ruby on Rails app
http://douglasfshearer.com/blog/rails-plugin-acts_as_indexed
MIT License
211 stars 49 forks source link

Changed two small documentation issues #5

Closed ionas closed 14 years ago

ionas commented 14 years ago

Further I'd recommend this:

  config.index_file = [Rails.root.to_s, 'tmp/acts_as_indexed']

as its transparent to the user, should work well, and is imho the right place compared to just 'index'

dougal commented 14 years ago

Documentation spacing and Rails3 issue merged to development branch.

Thanks for your contribution.

dougal commented 14 years ago

Re: the index location.

The index folder location has remained the same for historical and compatibility issues. If your Rails.root is not writeable, the index will be placed in tmp. This allows the plugin to work without any configuration on the likes of Heroku.