@@ -24,7 +24,7 class News < ActiveRecord::Base | |||
|
24 | 24 | validates_length_of :title, :maximum => 60 |
|
25 | 25 | validates_length_of :summary, :maximum => 255 |
|
26 | 26 | |
|
27 | acts_as_searchable :columns => ['title', "#{table_name}.description"], :include => :project | |
|
27 | acts_as_searchable :columns => ['title', 'summary', "#{table_name}.description"], :include => :project | |
|
28 | 28 | acts_as_event :url => Proc.new {|o| {:controller => 'news', :action => 'show', :id => o.id}} |
|
29 | 29 | acts_as_activity_provider :find_options => {:include => [:project, :author]}, |
|
30 | 30 | :author_key => :author_id |
General Comments 0
You need to be logged in to leave comments.
Login now