search for: galea

Displaying 12 results from an estimated 12 matches for "galea".

Did you mean: gale
2005 May 14
6
HELP!! Serious memory leak in my rails app!!
I''m having a huge memory leak problem with a rails application I''m developing! I first noticed that when running under webrick (via script/server) there was a fast memory leak.. several users using the app for a few hours would use 2 gig of memory!!! I searched the archives and found that some users found that it could be avoided by saying --daemon when launching webrick..
2007 Sep 22
2
Odd response.body behavior
Hi all, I''m having very odd behavior, but only with a few of my specs. I''m checking the value of response.body and in most cases finding it to be the content of the body... but in some cases it''s the name of the template rendered!! There''s no rhyme or reason I can see, but obviously my tests fail for no reason when I expect the body to contain the
2005 Oct 05
2
Transient Model Attributes in ActiveRecord
Hi all! I''ve been using an instance of my model to do "query by example".. Basically I fill in a new instance of the model and then later interrogate it to generate my conditions for find( :all ).. Where things get ugly is that I just moved several properties into a joined table, but I''d like to keep the ability to set those attributes in the original model..
2005 Nov 27
3
Canvas Tag + Rails Ajax
Hi all, Just looking for a quick sanity check. I was thinking of writing a plugin for rails to give rails developers a good way of using the new firefox 1.5/safari canvas tags. I was thinking of grabbing an existing ruby graphics library and modifying it so that it renders via the canvas tag.. So you could have link_to_remote pointing to controller actions that instead of returning
2007 Sep 13
5
Authenticating before tests
Hi all, I''m using Goldberg, an engine that provides roles based access control for my app. I need to login before I can do controller tests, but I can''t find any examples of people doing this. Could someone point me in the right direction? I thought the simplest way would be to either call the login action from my other tests before(:all), but I can''t seem to
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
Long afternoon, but finally got it. Hope this spares you some pain: Installation instructions mainly based on: http://ruby.about.com/od/enterprise/ss/ruby_oracle.htm Install Oracle Instant Client: mkdir C:\oracle cd c:\oracle Get the following files from here: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html and unzip them into the c:\oracle\ unzip
2008 Jan 29
1
Does status disappear after worker exits?
Hemant, From http://backgroundrb.rubyforge.org/ "Currently, when a worker is deleted/exits, its result/status is also gone (i.e. you can?t query the status of a worker which is not running). This behaviour is expected to change in future releases." Is this still true? I ask because I am checking for a status after a worker exits and the code seems to work. Thanks Rupert
2008 Jan 29
1
Workers without rails environment
Hemant, Thank you for your work on backgrounrb. In the old version there was the option of creating workers that do not load the rails framework. Since I was starting these processes as needed I decided to make use of this so they would use less memory. Is there a way to do this in the new version? This is not important to me but just wanted to make sure I was not missing something.
2006 Jan 12
0
indexing for sub items appears to fail after validation failureq
Hi all, I have a table with an associated (has_many) table and a single form to edit the parent that displays the children as well. The associated objects are represented via partials that contain indexed fields like: <%= text_field ''form[]'', ''pages'' %> When there is a validation failure in the "child" form the oddest thing is happening,
2005 Dec 30
1
metaprogramming in controller: accessing instance variables
Hi all, I''m trying to move a bunch of methods out of a controller into a library that I can include and call a class method to have it dynamically add a bunch of methods to the controller. The goal is to just add to each controller: include UIEnhancements::SubList sub_list ''Note'', ''incomplete'' and have the sub_list method create all the methods
2005 Apr 09
0
Overriding Human Name
Hi All, Is there any (easy?) way to override column.human_name in ActiveRecord?? Thanks in advance!
2007 Jun 22
1
Speex questions
Hi Jean-Marc, I'm implementing a VoIP client and I want to use your codec init. I need to ask you some questions about Speex because I can't get too much information about it on the web. I hope you can help me. 1.- First of all, I want to know if Speex provides a buffer for Jitter..If it does, what can I do to use it in my softphone? 2.- How does Speex manage the packet loss? (In a