To edit pages or tickets please login with username/password: aaf/aaf

Changeset 325

Show
Ignore:
Timestamp:
02/18/08 20:36:07 (8 months ago)
Author:
jk
Message:

add :if option to acts_as_ferret method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugin/acts_as_ferret/lib/act_methods.rb

    r324 r325  
    2222    #                     be ignored when the fields option is given, in that  
    2323    #                     case additional fields get specified there. 
     24    # 
     25    # if:: Can be set to a block that will be called with the record in question 
     26    #      to determine if it should be indexed or not. 
    2427    # 
    2528    # index_dir:: declares the directory where to put the index for this class. 

To edit pages or tickets please login with username/password: aaf/aaf