Displaying 2 results from an estimated 2 matches for "hwere".
Did you mean:
here
2006 Mar 13
3
validation and update
Hi,
I have validation working in a situation similar to the following.
(Please forgive any minor typos below)
class Department < ActiveRecord::Base
has_many :people
end
class Person < ActiveRecord::Base
belongs_to :department
validates_presence_of :name
end
@department = Department.new(:name=>"bedrock")
@department.people << Person.new(:name=>"fred")
2003 Jan 12
1
Compiling python_ext ?
Using samba-2.999+3.0.alpha21 (debian unstable source package), I can't
get the python modules to compile correctly. The problem seems to be
that py_common.c and py_smb.c declare global_myname as an extern
pstring, while it is defined in include/proto.h as const char
*global_myname(void). Changing the definition in the two files allows it
to compile, but "from samba import smb" then