search for: purchase_orders

Displaying 5 results from an estimated 5 matches for "purchase_orders".

2009 Mar 17
1
Route failure with Rails2.3 and rspec1.2
Hello all, I have a spec for a route that used to pass under Rails 2.2.2 and rspec 1.1.12, but can?t figure out what is wrong since I updated. Here is the assertion: route_for( { :controller => ''purchase_orders'', :action => ''update'', :company_id => "32", :id => ''1'' }).should == "/companies/32/purchase_orders/1" Which results in this failure Test::Unit::Asser...
2006 Dec 12
1
Drag and Drop in IE7 vs FF
Hi, I''ve got drag and drop (DD) working for my app in FF. However, the same code doesn''t work in IE7. I can''t even see an icon change when you hover over the item I intend to drag. All I get is the lasso effect; the mouse makes look it is trying to select the contents of the page. Here''s an abbreviated version of the code with the pertinent section: <%
2006 Mar 22
9
Setting empty fields with in_place_editor_field
Hi all! Playing around with in_place_editor_field, I found that when you set a field to be empty, you can''t edit it at all anymore after that. Am I doing something wrong or is this the way it is intended to be? If so, is there any way around that behaviour? Is it just styling? Best regards, Raphael -- Posted via http://www.ruby-forum.com/.
2006 May 03
5
Finding the rhyme for has_many :through
Hi all, I am NOT a person with English as my mother language and I haven''t been programming long enough to be natural in these kind of things. And if that isn''t bad enough, I am a newbie on Rails too... So please enligthen. I am trying to build a simple tool for my shop. I have many products that I sell in my shop and of course I have many suppliers for the products. Thus
2009 Apr 21
0
Validate order lines on order creation (ActiveResource)
Hello, I have order model that has many lines. I would like to create order only when all order lines will be created: require ''rubygems'' require ''activeresource'' class PurchaseOrder < ActiveResource::Base self.site = "http://admin:secret@localhost:23456" end o = PurchaseOrder.create(:account_ref => ''123'', :lines => [{