search for: ensure_directori

Displaying 2 results from an estimated 2 matches for "ensure_directori".

Did you mean: ensure_directory
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello, I did a seemingly smooth install of ferret, but when I try to add it to my model, I get an error. My info: My rails site: shelikes (a restaurant review site) My controller: Display My model: Review My only line of code added for ferret is: class Review < ActiveRecord::Base acts_as_ferret ...( more stuff not related )... end Below is the error information. Any thoughts on how
2007 Feb 14
0
acts as ferret creates redundant default index directory?
Hi I''m using a non-default index directory (acts_as_ferret :index_dir option) but the unused default (./index/) is still created at load time. The culprits are the two calls to ensure_directory in the init_index_basedir method in acts_as_ferret.rb that seem to be redundant. Removing the calls to init_index_basedir fixes the problem with no apparent side effects. Cheers, Stuart --