Displaying 3 results from an estimated 3 matches for "listpric".
Did you mean:
listproc
2005 Nov 30
8
nested attributes with update_attributes()
...d, got HashWithIndifferentAccess
Here''s the situation (simplified):
class Product < ActiveRecord::Base
belongs_to :productPrice
end
class ProductPrice < ActiveRecord::Base
has_one :product,
:dependent => true
validates_presence_of :costprice, :listprice
end
my parameters look something like this:
params = {
:product => {
:productno => "something",
:description => "something else",
:productPrice => {
:costprice => 30.34,...
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
...------------
id | integer | not null default
nextval((''i
d''::text)::regclass)
partnumber | text | not null
description | text |
unit | character varying(10) |
listprice | numeric(15,5) |
sellprice | numeric(15,5) |
lastcost | numeric(15,5) |
priceupdate | date | default
date(''now''::text)
weight | real |
onh...
2010 Mar 01
0
Multicolumn Listbox selectcommand trouble
...yscrollcommand = function(...)tkset(scr1,...))
#?tk2mclistbox
# Define the columns
tk2column(mlb, "add", "date", label = "col1", width = 20)
tk2column(mlb, "add", "title", label = "col2", width = 40)
tk2column(mlb, "add", "listprice", label = "col3", width = 15)
tk2column(mlb, "add", "categ", label = "col4", width = 20)
# Collect data from insurance companies
scr1 <- tkscrollbar(listings, repeatinterval = 5, command =
function(...)tkyview(mlb,...))
tkgrid(mlb, scr1)
tkgrid.conf...