search for: shipments_controller

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

2007 Nov 02
1
1 error(s) on assignment of multiparameter attributes - Very Strange
...tributes='' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/ base.rb:1508:in `initialize_without_callbacks'' C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/ callbacks.rb:225:in `initialize'' C:/ruby/bin/TrackAndTrace/app/controllers/shipments_controller.rb: 57:in `new'' C:/ruby/bin/TrackAndTrace/app/controllers/shipments_controller.rb: 57:in `create'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/ base.rb:1101:in `send'' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/ base.rb...
2006 Feb 24
4
Problem having two belongs_to of the same class type
...lt;/td> </tr> <tr> <th>Shipped from</th> <td><%= collection_select ''shipment'', ''shipped_from'', @branches, ''id'', ''name'' %></td> </tr> <tr> </table> shipments_controller.rb: ------------------------------------------------ class ShipmentsController < ApplicationController def new @branches = Branch.find(:all, :order => ''name'') case request.method when :get @shipment = Shipment.new when :post @shipment =...