search for: workord

Displaying 9 results from an estimated 9 matches for "workord".

Did you mean: workerd
2005 Nov 30
3
Downcasing Legacy Table Column Names
I''m looking for the simplest way to *automatically* downcase the attribute names of Models mapped to legacy tables that use upper case. eg: class Workorder < ActiveRecord::Base set_table_name "WORKORDER" end which has "NAME" as an attribute can use "name" as an attribute. currently: workorder = Workorder.find(1) workorder.NAME # => "workorder 1 name" I want: workorder.name # => "workorder 1...
2006 Jan 06
2
How do I reference eagerly loaded Models in the View?
...can paste the sql dump, but it looks good to me - and runs well independantly), but it seems that I''m referencing the eagerly loaded data in a way that activerecord doesn''t understand (my assumption) - thus I''m getting a tonne of additional queries. [first, the domain: WorkOrders has_many: WorkOrderItems && WorkOrderItems belongs_to :WorkOrder WorkOrderItems belongs_to :ProductsAndServices secondly, the controller looks like: @work_order = WorkOrder.find(params[:id]) @work_order_items = @work_order.WorkOrderItems.find(:all, :include => [:WorkOrder, :P...
2006 Jan 10
1
sql server & linux: left join problem
I''ve got a left join problem of some sort connecting from linux FreeTDS/ODBC to SQL Server. It''s similar to the false post I had earlier, but this is a real problem. Here''s my code: def find_recipes_for_workorder @recipe_pages, @recipes = paginate_with_sort :recipes, :per_page => 10, \ :joins => ''left join workorder on workorder.workorder_id = recipe.workorder_id'', \ :conditions => ["workorder.name = ?", params[:workorder][:name]] render :template =&g...
2006 Jan 05
0
Keep the Queries Down or "Referencing eagerly loaded models"
...(I can paste the sql dump, but it looks good to me - and runs well independantly), but it seems that I''m referencing the eagerly loaded data in a way that activerecord doesn''t understand (my assumption) - thus I''m getting a tonne of extra queries. [first, the domain: WorkOrders has_many: WorkOrderItems && WorkOrderItems belongs_to :WorkOrder WorkOrderItems belongs_to :ProductsAndServices secondly, the controller looks like: @work_order = WorkOrder.find(params[:id]) @work_order_items = @work_order.WorkOrderItems.find(:all, :include => [:WorkOrder, :...
2006 Jan 10
1
sql server freetds/odbc question
I''m having an error from Linux via freeTDS/ODBC to SQL Server with cod that runs fine against SQLite and MySQL. Here''s the code: def find_recipes_for_workorder_by_id @recipe_pages, @recipes = paginate_with_sort :recipes, :per_page => 10, \ :conditions => ["recipe.workorder_id = ?", params [:workorder]] render :template => ''recipe/list'' end (I''ve included the custom sorting c...
2007 Apr 14
5
SAMBA Problem - Users take ownership
...Logpages Monthly Templates Reports etc -rwxrwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 13 13:16 MOD SB Compliance Status ALEX.xls -r--rwx---+ 1 AVMAX+ALee AVMAX+Domain Admins 552448 Apr 12 13:35 MOD SB Compliance Status.xls drwxrws---+ 2 root AVMAX+Domain Admins 4096 Mar 30 16:09 Monthly Workorder Templates drwxrws---+ 3 root AVMAX+Domain Admins 4096 Apr 3 09:06 SIP + Audit Spreadsheets drwxrws---+ 5 root AVMAX+Domain Admins 4096 Mar 20 13:04 Tally Sheets for Regional 1 I want all ownerships to remain root:AVMAX+Domain Admins with drwxrws--- set as the permissions. My ACL's look li...
2009 Oct 21
1
megatec_usb and "fry's" UPS
...000] on usb-0000:00:1d.0-1 The server is an IBM x3200 tower server running centos 5.3 Linux hera 2.6.18-92.1.22.el5.centos.plus #1 SMP Wed Dec 17 10:50:49 EST 2008 i686 i686 i386 GNU/Linux -- Craig Falconer The Total Team - Managed Systems Office: 0800 888 326 / +643 974 9128 Email: workorder at totalteam.co.nz Web: http://www.totalteam.co.nz/
2009 Oct 20
1
megatec_usb and "fry's" UPS
...000] on usb-0000:00:1d.0-1 The server is an IBM x3200 tower server running centos 5.3 Linux hera 2.6.18-92.1.22.el5.centos.plus #1 SMP Wed Dec 17 10:50:49 EST 2008 i686 i686 i386 GNU/Linux -- Craig Falconer The Total Team - Managed Systems Office: 0800 888 326 / +643 974 9128 Email: workorder at totalteam.co.nz Web: http://www.totalteam.co.nz/
2006 Aug 02
10
Ruby deamon
We are building a web-based application with Ruby on Rails and MySQL backend. The client now wants us to add various workflow features that will eventually expand into SOAP web services. These workflow features include tasks such as automatically sending reminders for due tasks, or if a particular set of information hasn''t been logged by a certain time to automatically send an email