Displaying 20 results from an estimated 900 matches similar to: "stack level too deep"
2006 May 23
1
Help with observe_field
Folks,
When I use observe_field, I get a javascript error "Form is not
defined". Any thoughts?
__View: search.rhtml__
<label for="search">Search:</label>
<%= text_field_tag :search %>
<%= observe_field(:search,
:frequency => 0.25,
:update => :search_hits,
:url => { :action =>
2006 Sep 06
7
Error on Windows and FreeBSD
First off Windows, because actually what I appear to be getting is a
Rails error which only occurs when I use Mongrel, using Webrick I do not
get this error.
I start Mongrel using:
mongrel_rails start
I have mongrel, win32-services and mongrel-service gems installed even
through Im not using mongrel as a service at the moment.
The whole application works apart from one action. The error I get
2006 May 05
1
Agile Rails (1st edition), depot TDD "exercise"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''ve been working my way through the Agile book and just completed
the depot sample application. I learned quite a bit along the way.
On page 171 we are led through the creation of a test (that fails)
for new code. The new code (a search function) is left as an exercise
for the reader. Well, I think I solved it but I''m not
2006 May 06
1
depot test-driven development exercise
(I posted this yesterday but within 20 minutes my thread was hijacked
so I''m not sure anyone really saw this.)
I''ve been working my way through the Agile book and just completed
the depot sample application. I learned quite a bit along the way.
On page 171 we are led through the creation of a test (that fails)
for new code. The new code (a search function) is left as an
2007 Jul 04
2
problems after gem update
Hi, I had ferret working wonderfully but i am regretting doing a gem
update today.
I had alot of trouble first installing it and was really happy to have
it working. The upgrade was from 0.3.1 to 0.4.0.
The problem is;
in the rails console,
>> @results = Book.find_by_contents("peter pan")
=> #<ActsAsFerret::SearchResults:0x487040c @total_hits=0, @results=[]>
Its indexing
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
I''m getting strange data back from my worker whenever I run our rails
app with more than one dispatcher under lighttpd.
just to give some info on what the app does:
user submits data to rails app. rails app hands off data to worker,
which goes and does it''s thing, storing results in an array of
response objects (the array is an attribute of the worker). the
response object
2003 Aug 20
9
CBQ_bandwidth
Hi Stef,
Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html
> I found a para as follows,
" CBQ is not always as accurate as it should be. See docum.org on the
test page for some tests with bounded classes. The algorithm used by cbq
is very "link sensitive". It calculates the link idle time and for that
it needs the real link bandwidth, average
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all,
We''re attempting to use Ferret with the DRb server at the moment, and
it doesn''t work, at all...
= Executive Summary
The DRb server process keeps on calling the remote index to the DRb
server process... Which means DRb is calling itself, and itself, and
itself, until Ruby kills the Thread with a SystemStackLevel error.
= The excruciating details...
# Mongrel is
2007 Apr 16
1
User space tool to extract ext3 inode information
Hello!
I need to write a user space tool that can dump
logical block addresses used by every file in a ext3
file system. For example, if file foo uses LBAs 2,3
and file bar uses LBAs 100,102,156, then the ouptut
should read:
FILENAME LBAs
foo 2, 3
bar 100,102,156
Is there a tool that exists that can do this? If not,
what would be a good strategy to write this tool. I am
2006 Jul 07
4
Help installing Ferret
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
I followed everything here but at the last I get when loading page
get_results
Can only handle a String or a Query.
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/models/result.rb:27:in `search_each''
#{RAILS_ROOT}/app/models/result.rb:27:in `search_index''
2008 Jul 01
1
Users can't delete an email (Totally Random effect)
Hello all... Found a weird one here. I tried to search the web but I'm
not having luck so I thought I'd hit the mailing list.
We have noticed off and on all school year that every so often a user
gets an email that they just can't delete using Thunderbird or Outlook
over IMAP (we do not support Pop3 anymore.) Essentially the user clicks
the email and takes it to the trash.
2010 Aug 23
3
Unable to upload images using native rails file upload
I am a rails newbie and am trying to build my first app. I have a jobs
and categories controller and models respectively.
CONTROLLER:
def new
@job = Job.new
@catergory = Catergory.all
respond_to do |format|
format.html # new.html.erb
format.xml { render :xml => @job }
end
end
#THIS IS A group of 10 RADIO_BUTTONS TO SELECT A CATEGORY FROM. BY
DEFAULT THE FIRST
2017 Mar 13
2
First time setting up Director Woes
I'm trying to setup our first director server. Trying to keep the
initial config simple really as just maybe a proof of concept and its
got me pulling my hair out today. Initially I just tried to convert one
of my already running IMAP servers to be a director just to see if I
could do it. I modified the configs as it appeared they needed based on:
https://wiki2.dovecot.org/Director
2007 Jul 17
2
A little OT but hopefully still related enough... Maildir Delivered mail naming problems.
Normally I wouldn't post off topic to a mailing list, but I have posted
every where else I can think of and haven't had any success yet working
this out. I know there has to be a few people here with extensive
knowledge of how mail works and maybe just a tip in the right direction
would help me out at this point.
I have migrated from mbox format to Maildir format in the last week. I
2006 Nov 04
0
form_remote_tag problems with post url
Hi,
I''m hitting a bump with the form_remote_tag, and wondering if anyone can
help.. SO i''m trying to implement a tag-based search on a site and using
routes, I can enter a url such as http://localhost/tag/query , which calls
an action ''search'', and returns all the posts which are tagged with the word
''query''..
fine...
In the
2007 Jun 29
8
mbox vs maildir
I'm using Dovecot 1.0.1-12 on Linux/Fedora 7
along with sendmail and procmail all running on the same box
mail is stored in mbox format
It's a small system with a half dozen or so e-mail "accounts". Each with
40-60MB of messages in various folders.
I keep seeing messages about how mbox is antiquated and anybody with
more than 100 messages etc should not use mbox, but use
2008 Jun 27
2
5.1 -> 5.2 Upgrade oddity
yum upgrade -y
yada yada yada
....
then lots of errors like:
/usr/share/gnome/help/gdm/fr/gdm.xml:173: parser error : Entity 'eacute'
not defined
and so on until
Document is not well-formed XML: /usr/share/gnome/help/gdm/it/gdm.xml
Updating : amtu ##################### [173/520]
Updating : grub ##################### [174/520]
...
2006 Sep 22
1
QueryParser bug?
I cooked up a little script to show what I mean. This doesn''t look right
to me, but maybe I just completely misunderstand QueryParser.
Same output on mswin32, unix, ferret 0.9 and 0.10
Cheers, Sam
require ''rubygems''
require ''ferret''
p Ferret::VERSION # 0.10.6
index = Ferret::Index::Index.new()
index << {:title => "Programming
2006 Jan 13
2
uninitialized constant Ferret
I get this error message from the following code:
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/tmp/index'')
index << {:title => "Programming Ruby", :content => "blah blah blah"}
index << {:title => "Programming Ruby", :content => "yada yada
2008 Jun 13
1
dependency on /usr/lib/nx
I do a:
sudo yum update
and I get:
yada, yada, yada,...
---> Package freenx-server.i386 0:0.7.2-8.el5 set to be updated
--> Running transaction check
--> Processing Dependency: /usr/lib/nx for package: freenx-server
Importing additional filelist information
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/lib/nx is needed by package freenx-server
Not only