search for: orderstatuses

Displaying 3 results from an estimated 3 matches for "orderstatuses".

Did you mean: orderstatus
2006 Mar 14
4
has_one
...and cardTypes.id = ''blah'' I don''t want the cardTypes.id = ''theprimarykey" part in there. Any help is greatly appriciated. My Order model is below: class Order < ActiveRecord::Base set_primary_key "customerId" belongs_to :account has_many :orderStatuses, :finder_sql => ''SELECT name '' + ''FROM orderStatuses ors '' + ''WHERE ors.id = "#{status}" LIMIT 1'' has_many :cardTypes, :foreign_key => ''id'', :finder_sql => ''SELECT shortName, lo...
2010 Dec 29
1
Script Output Format
Hi all! i'm just did a script that the output must be comma separated to be imported into a spreadsheet. the output that i obteined was Date/Time,We. Active Threads,W. Total Threads,W. Worker Threads,Name 29-12-10/11:43:01,0,250,0,/FIM ,0,/mytest ,0,/mockofprod/financing/customercentre ,0,/mockofprod/financing/commercial/amt ,0,/account/orderstatus ,0,/activities as you can see, the first
2006 Jun 28
6
select_tag
in my controller @cursos = Curso.find_all in my view i''m trying to do a select_tag with the results @cursos, using a helper select_tag "name" options_for_select(@cursos) --------> not works select_tag "name" @cursos --------> not works how to do it, using the helper? tks -- Posted via http://www.ruby-forum.com/.