search for: shipped_on

Displaying 2 results from an estimated 2 matches for "shipped_on".

2006 Jun 18
2
Table Relationship for Select option list
...urer''s model number): create table devices ( id int not null auto_increment, hostname varchar(64) null, mfg_model_id int not null, serial_number varchar(20) null, location varchar(20) not null, shipped_on date null, purchase_price decimal(10,2) not null, purchased_on date null, quote_name varchar(20) null, purchase_order_name varchar(20) null, ip_address char(64) null, deployed_on date null,...
2007 Mar 27
3
Stubbing out method for all instances
I am using the acts_as_state_machine plugin to control state of an object in my app, however when testing this I need to be able to stub out the guard conditions so that state will change when I fire off an event without depending on other models. Guard conditions simply return true or false so I have an instance method: def encoded? <check state of other objects> return true