search for: jfoxni

Displaying 7 results from an estimated 7 matches for "jfoxni".

Did you mean: jfoxny
2006 Nov 08
5
New Backgroundrb Speed Issues?
The new backgroundrb seemed to me to be markedly slower than the old one. So, I ran a "side-by-side" comparison test using a worker that I had written which parses a CSV file and loads the results into a database. The results? The latest version appears to take twice as long to run the same code as the previous version. Has anyone else experienced speed issues with the new
2006 Jan 12
2
Finding by association
I have two objects that are associated in the following way: class Class1 < ApplicationController has_and_belongs_to_many :class2s has_and_belongs_to_many :otherClasses end class Class2 < ApplicationController has_and_belongs_to_many :class1s has_and_bleongs_to_many :otherClasses end Now, when I run the following query, @objects = Class1.find(:all, :conditions
2005 Dec 21
3
Lazy Loading?
I''m having problems with what seems to be lazy loading behavior in Ruby on Rails. I have two objects in a parent-child relationship such as: class Order < ActiveRecord::Base has_many :items, :dependent => true end class Item < ActiveRecord::Base belongs_to :order end I put an instance of the Order object into the session using: session[:order] = Order.new
2005 Dec 18
1
Different sessions across controllers?
I''m seeing something odd or perhaps not, I really don''t know as I can''t seem to find any information on this problem. When accessing the various controlers in my application, I seem to get different session objects, i.e., the object IDs are different. So, data that I put into my session in controller A is not present when controller B accesses the session (as it
2005 Dec 29
4
Many-to-Many: Where to add the children?
I have two classes Person and Job defined as follows: class Person < ActiveRecord::Base :has_and_belongs_to_many jobs def add_job(job_name) job = Job.find_by_name(job_name) # See if this job exists if job.nil? # If this job doesn''t exist job = Job.new # Create a new job job.name = job_name #
2006 Aug 16
8
Multiple (AJAX) Observers on the Same Field and MSIE
I have been using multiple observers, i.e., observe_field(), on the same input field and relying on them to execute in the same order that they appear in the page. This has been working fine in FireFox, but it does not seem to work in MSIE; the requests come in and are processed in a different order. Now, I''ve always been a little hesitant about using this technique, but it always
2006 Jul 07
4
Saving Objects without Saving Objects
I have a problem that I think is probably fairly common but I haven''t seem to be able to come up with the magic combination of search terms to find a solution (or it really isn''t that common). Here''s the deal... Scenario: A system allows a user to enter in articles via a web-form. The system provides a preview function; not a live preview, but a preview on another