Displaying 2 results from an estimated 2 matches for "body_text".
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello,
I''ve installed the Ferret gem and also got the act_as_ferret code from
the wiki.
I''ve set up my model "Branch" to act as ferret using the code below.
acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']}
I''ve also set up a ferret_controller with the code below
def find
if params[:search_terms]
@branch_results = Branch.find_by_contents(params[:search_terms])
render_text @branch_results.inspect
end
end
I''ve done some updates an...
2010 Jan 02
6
mutt execution by daemon
I have a user w/o a shell that runs an app as a daemon that needs to use
mutt to email an attachment from a script.
During testing when the app was ran as root everything worked:) Now that
we obviously are running as a user w/o a shell this little bit broke. I
used mutt as I needed to send the attachment as mime, and the ability
to specify a muttrc from the cli when executed was useful so we