Displaying 8 results from an estimated 8 matches for "contract_id".
Did you mean:
contact_id
2008 Jun 11
1
Resourse route in namespace with prefix error
Ok so I have this route
map.namespace :trades do |trades|
trades.resources :buys, :path_prefix => ''/trades/:contract_id''
end
I want the contract_id variable to filter a list of buys
then I try to open this route http://localhost:3000/trades/1/buys
I get a strange error:
ActionController::RoutingError in Trades/buys#index
Showing trades/buys/index.html.erb where line #12 raised:
trades_buy_url failed...
2007 Nov 20
3
How to test views with Nested Resources and Partials
...d files below
(edit.haml_spec.rb, edit.haml, _form.haml)
Thanks for your help,
Troy
######## Output from running edit.haml_spec.r ########
F
1)
ActionView::TemplateError in ''/line_items/edit.haml should render edit
form''
contract_line_item_url failed to generate from
{:contract_id=>"1", :action=>"show", :controller=>"line_items"},
expected: {:action=>"show", :controller=>"line_items"}, diff:
{:contract_id=>"1"}
On line #6 of app/views/line_items/edit.haml
3:
4: #section1
5: = error_...
2006 May 09
6
RJS, & mulitple Drop Down Boxes.
...option>
<% @unions.each do |union| %>
<option value="<%= union.id %>">
<%= union.name %>
</option>
<% end %>
</select>
</div>
</p>
<p>
Contract:
</p>
<p>
<div id="contract_id_container">
<select name="contracts" id="contracts">
<option value="">Select Contract</option>
</select>
</div>
<p>
Rate Group
</p>
<p>
<div id="rate_group_id_container">
<select nam...
2007 Jan 27
0
Interchanging ActiveRecord and ActionWebService... Help with my problem and suggestions for Best Practices.
...or in Offer renewalController#payment_made
undefined method `make_payment'' for WebservicePaymentApi:Class
Source:
class WebservicePaymentApi < ActionWebService::API::Base
require ''contract_payment''
api_method :make_credit_card_payment,
:expects => [{:contract_id => :int},
{:amount => :float},
{:card_type => :string},
{:card_number => :string},
{:card_verification_code => :string},
{:card_expiration_date => :date}
],
:retur...
2010 Jan 27
2
Disabling automountd on Solaris10.
...# svcs -l autofs
fmri svc:/system/filesystem/autofs:default
name automounter
enabled false
state disabled
next_state none
state_time Wed Jan 27 11:32:45 2010
logfile /var/svc/log/system-filesystem-autofs:default.log
restarter svc:/system/svc/restarter:default
contract_id
dependency require_all/none svc:/system/filesystem/local (online)
dependency require_all/restart svc:/milestone/name-services (online)
dependency optional_all/none svc:/network/nfs/client (online)
dependency require_all/restart svc:/network/rpc/bind (online)
[What I want to Know]
1.What &q...
2007 Sep 06
2
HABTM Loops
So, I have a "schedules" table and a "hours" table, joined by a
"hours_schedules" table. Think of the hours table as a category for
when people will schedule themselves to work, which happens in weekly
increments. At any given hour, there will be X number of people
working. I need to represent each worker with an asterisk symbol in
the weekly view. For example,
2006 Oct 24
2
zfs set sharenfs=on
I started sharing out zfs filesystems via NFS last week using
sharenfs=on. That seems to work fine until I reboot. Turned
out the NFS server wasn''t enabled - I had to enable
nfs/server, nfs/lockmgr and nfs/status manually. This is a stock
SXCR b49 (ZFS root) install - don''t think I''d changed anything much.
Shouldn''t a ZFS share be permanently enabling NFS?
2008 Feb 17
12
can''t share a zfs
-bash-3.2$ zfs share tank
cannot share ''tank'': share(1M) failed
-bash-3.2$
how do i figure out what''s wrong?
This message posted from opensolaris.org