public
Description: The full source code for projects used in Railscasts episodes.
Homepage: http://railscasts.com
Clone URL: git://github.com/ryanb/railscasts-episodes.git
ryanb (author)
Mon Oct 06 00:40:39 -0700 2008
commit  0b1096d7cc4045422f70f8d48c46f5e7f5d31ce4
tree    d088abde2306e7321ce8808c29d65307838cf451
parent  f2737a92dc5c96d9d6adc0f898fdce7b05eeece7
100644 19 lines (13 sloc) 0.481 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Railscasts Episode #120: Thinking Sphinx
 
http://railscasts.com/episodes/120
 
Commands
 
  script/plugin install git://github.com/freelancing-god/thinking-sphinx.git
  rake thinking_sphinx:index
  rake thinking_sphinx:start
 
Search Options
  
  :include => :author
  :conditions => { :created_at => 1.week.ago.to_i..Time.now.to_i }
  :order => :name
  :field_weights => { :name => 20, :content => 10, :author_name => 5 }
  :match_mode => :boolean
  :page => 1, :per_page => 20