Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.
Index: app/models/work_log.rb
===================================================================
--- app/models/work_log.rb (revision 942)
+++ app/models/work_log.rb (working copy)
@@ -1,6 +1,6 @@
class WorkLog < ActiveRecord::Base
- acts_as_ferret :fields => ['body', 'company_id', 'project_id']
+ acts_as_ferret({ :fields => ['body', 'company_id', 'project_id'], :remote => true})
belongs_to :user
belongs_to :company
Index: app/models/task.rb
===================================================================
--- app/models/task.rb (revision 942)
+++ app/models/task.rb (working copy)
@@ -2,13 +2,13 @@
include Misc
- acts_as_ferret :fields => { 'company_id' => {},
+ acts_as_ferret ({:fields => { 'company_id' => {},
'project_id' => {},
'full_name' => { :boost => 1.5 },
'name' => { :boost => 2.0 },
'issue_name' => { :boost => 0.8 },
'description' => { :boost => 1.7}
- }
+ }, :remote => true })
belongs_to :company
belongs_to :project
@@ -77,7 +77,11 @@
end
production:
host: localhost
port: 9010
pid_file: log/ferret.pid
development:
host: localhost
port: 9010
pid_file: log/ferret.pid
test:
host: localhost
port: 9009
pid_file: log/ferret.pid
1 to 6 of 6