similar to: index#term_docs returns no docs / term_docs_for does

Displaying 20 results from an estimated 1000 matches similar to: "index#term_docs returns no docs / term_docs_for does"

2006 Aug 18
3
New automated Capistrano setup for Apache2.1+ and mongrel_cluster
Hi mongrel users! I just posted a bad-ass capistrano file that automates *everything* for setting up an apache2+mod_proxy_balancer and mongrel+mongrel_cluster -- including apache2 setups. It''s based off Coda Hale''s guide and all Bradley''s work at fluxura and RailsMachine (thanks Coda and Bradley!). It''s, well, bad-ass, if I must say so myself. My favorite
2007 Mar 20
2
Strange Results For Term Frequencies
I would like to thank all the people who have contributed to this very fine project. Great work! I''ve encountered some strange results while examining the term frequency of one of my indexed documents. The indexed terms seem to vary for the very same document depending on the presence or absence of completely unrelated operations in the code, so the resulting term frequency changes, too.
2006 Nov 04
0
#expire_fragment in models...any clean solutions?
I''ve seen a couple of workarounds on the mailing list related to expiring cached fragments inside of models, but nothing too clean. Anybody have any suggestions for handling this at the model-level? I have an application is updated outside of the Rails controllers, so I can''t use a Sweeper. The 2 methods I''ve seen: a. Use a callback to generate an HTTP post on a
2007 Sep 18
1
Mongrel Upload Progress progress method returns Content-Length: 0
Running into a strange bug using the mongrel upload progress plugin handler, sitting in front of a simple mongrel. The bug appears on an old Xserve (mac OS X 10.3.9 powerpc), but not on my macbook pro, or even a generic 686 linux box. http://pastie.textmate.org/98341 The gist of the pastie above shows that attempts through the browser and curl are actually hitting the filesController, as
2006 Oct 23
1
Updated Apache Best Practices Doc fixes
Hi guys, Thanks to several members I''ve updated the apache best practices docs to include several fixes including the bug reported (by Zed and someone else I believe, sorry for the non-attribution) with IE''s \b instead of b rule for deflate. I also added some success stories from Martins, Phillip Hallstrom, and Jens Kraemer -- and the REMOTE_USER pass instructions from Jon
2006 Sep 25
0
[PATCH] documentation additions for Apache
I added some stuff for the new pre-release with prefix for serving multiple rails apps, and did some in general updates/maintenance to the apache page. Please if anyone wants to add anything, or have any suggestions, , or if you''ve got some clever apache rules / tools / configs -- let me know, or feel free to pull it down and patch yourself. And also let me know if I''ve missed
2006 Aug 09
0
IIS proxying to lighttpd/apache to mongrel with SSL
This might not be a mongrel question so much as an IIS question, and if so, my apologies. I''m needing to switch a (ASP.NET) web application that''s running behind a firewall appliance on IIS on port 8443 under SSL to a rails web application -- a mongrel instance (and perhaps later apache or lighttpd with new mod_core_prox in front of mongrel) on a different server. I remember
2007 Apr 06
0
Background Processing Chapter in upcoming book
Hi BackgrounDRber''s, I''m helping Obie Fernandez write a chapter on Background Processing in his upcoming Pro Rails book, and wanted to see if I could run it past the group. Any input is appreciated. See attached (word doc, owch)! p.s. thanks Ezra skaar, and File.read(CONTRIBUTORS).collect Cheers, -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios:
2007 Sep 21
2
[PATCH] Apache Documentation Updates
Hello mongrelians, I''ve had several submissions sent to me regarding the apache documentation on the mongrel site: http://mongrel.rubyforge.org/docs/apache.html I have assembled quite a bit of updates and changes, but if you know of anything that has been useful to you, or that is missing or can be reworded or added (or missing attributes!) please let me know. cheers, -- Charles
2006 Aug 01
0
Re: Re: Re: Re: Re: Re: Re: [AtlRUG] [Fwd: wiki spam problem -- any new developments?]
committing won''t push to production -- you have tested I assume locally? localhost:3000 shows your changes? if so, I can simply go on to the server where it is deployed and issue: svn export (or svn update) and restart the application for changes to actually propagate. svn log shows your commit, that is all well and good: SeeBQ-MacBook:~/rails_apps/atlrug.org cbq$ svn update U
2005 Sep 12
1
Edit In Place: text with line breaks
All, I need to apply EditInPlace to a block of text that has line breaks. I''d like to have the editable text load instantly by grabbing the text from the page instead of using the "loadTextURL" option. However, this will pull in the html formatting ( <br> and <p>). Wanted to see what ideas the list had as far as making this possible - the best idea I''ve
2006 Jan 12
4
Typecasting and boolean attributes
I have 2 radio buttons like this: <%= radio_button ''group'', ''public'', true %> <%= radio_button ''group'', ''public'', false %> They hold the correct values when viewing the @group object. However, when updating, it does not appear that the params[:group][:public] value is being typecast correctly. As
2006 Jan 13
1
Rendering an RJS template within another RJS template
Is there a way to render an RJS template within another? I''ve put my simplified code below. No errors are generated, but the partial isn''t rendered. I also tried using render :action => ''update_actions'' destroy.rjs--- page.visual_effect :fade, comment_container(@object.id.to_s) # update the number of comments(below is another rjs template) render :partial
2005 Sep 07
3
Autocomplete Error w/Version 1.5_pre4
I recently updated to version 1.5_pre4 to use the excellent in-place editor, however, I''m now seeing a bug with AutoCompletion. When text is entered in the text field for auto completion, the auto_complete div is not updated (but the server does receive the request and return a response). Upon removing focus from the text field, 2 instances of the following error can be seen in both
2006 Jan 10
0
Validation and Single-Table Inheritance
I''m seeing an inconsistent application of validation in a single-table inheritance situation, and wanted to see if anyone else has seen this. I have the following: class Contact < ActiveRecord validates_presence_of :first_name ... end class EmployeeContact < Contact ... end If I do the following while running the server or in test mode, no error occurs eventhough the first
2005 Dec 31
9
RJS Templates not conducting callbacks
I''ve run across a weird problem with RJS that I''m trying to figure out: I have an application that was running 0.13.1 that I recently upgraded to Rails 1.0. I wanted to use RJS templates, so I installed the plugin and updated my prototype javascript file via ''rake update_prototype.'' I attempted to test the templates out via the following code, but the AJAX
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
All, I''ve come across a confusing problem when attempting to run unit tests for an application on OSX (works on Windows). I''m receiving the following error: `load_specification'': undefined method `parse'' for Time:Class (NoMethodError) This is also confusing because I can''t figure out how the error appeared. When I revert back to previous revisions,
2006 Feb 28
2
Most Popular Searches
Hi, I have an index where each document contains an untokenized ''url'' field. I would like to query the index for the most popular urls. In SQL I would do this via a Group By clause. Is there anything in Ferret that will do something similar? I found this discussion that proposed a solution involving TermEnums:
2006 Oct 20
0
Ferret 0.10.13 released
Hi Folks, I''ve just release Ferret 0.10.13 (skip 0.10.12, it was a bad build). There are two interesting additions to this release. You can now access the Filter#bits method of the built in filters so you can can use them in your own code, possibly within your own custom filters. For example you could implement a custom filter like so: class MultiFilter < Hash def
2006 Dec 21
10
versioning of win32 versus ruby gems
I know we already mentioned this before on the list but I couldn''t find it in the archives. Is there a way to differentiate the versions for ruby/mswin32 so that I could run a command like: # sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ --include-dependencies --version 1.0 and have it not prompt me like this: Select which gem to install for your platform