search for: process_class

Displaying 4 results from an estimated 4 matches for "process_class".

2006 Jul 31
0
MY worker won''t stop working
...) returns. This is the main code from the process_cdr class: def stop_process @running = false end def process @running = true @time_start = Time.new.to_f @files_processed = 0 phone_service_accounts = PhoneServiceAccount.find(:all) phone_service_accounts.each do |myPsa| process_class_name = myPsa.process_class @current_account = myPsa.name if @file.strip.length == 0 @phone_service_cdr = PhoneServiceCdr.find(:all, :conditions => "processed = ''n''") else @phone_service_cdr = PhoneServiceCdr.find(:all, :conditions =>...
2009 Jun 16
2
Documenting Models
All, I''m trying to do some documentation on the models for our interfaces team. I espcially need them to be able to see the relationships belongs_to and validations. However, I must be stupid with rdoc because I can''t seem to get those two things in the generated documentation. Ideas?
2010 Sep 29
2
Railroad problem with :through?
...8/gems/dmattes-railroad_xing-0.5.4/lib/railroad/ar_model.rb:64:in `each'' from /home/kaitest/.gem/ruby/1.8/gems/dmattes-railroad_xing-0.5.4/lib/railroad/ar_model.rb:64:in `edges'' from /home/kaitest/.gem/ruby/1.8/gems/dmattes-railroad_xing-0.5.4/lib/railroad/models_diagram.rb:69:in `process_class'' from /home/kaitest/.gem/ruby/1.8/gems/dmattes-railroad_xing-0.5.4/lib/railroad/models_diagram.rb:29:in `generate'' from /home/kaitest/.gem/ruby/1.8/gems/dmattes-railroad_xing-0.5.4/lib/railroad/models_diagram.rb:28:in `each'' from /home/kaitest/.gem/ruby/1.8/gems/dmattes-r...
2007 Nov 29
2
railroad-database problem
...ctiverecord-1.15.3/lib/active_record/base.rb:763:in `columns'' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:782:in `content_columns'' from /usr/local/lib/ruby/gems/1.8/gems/railroad-0.4.0/lib/railroad/models_diagram.rb:60:in `process_class'' from /usr/local So It is clear that it is trying to find a table named reportings under this schema. When I exclude this file (reporting.rb), then itz giving another error corresponding to the files inheriting the “Reporting” class like railroad -M -e reporting.rb models...