Displaying 19 results from an estimated 19 matches similar to: "Models and Inheritance"
2006 Mar 05
8
Model Inheritance, Mixins and Database design
I''m trying to understand how best to use inheritance and wonder if
Rail''s Single Table Inheritance model too restricting.
I have a model Companies who provide 1+ Services (HABTM relationship).
I assume the best way to represent this is with a series of child models
representing each type of service : ServiceType < Company.
I want to return lists of companys for each
2004 Jan 10
2
swat error
I am getting the following error when trying to connect to
http://localhost:901
500 Server Error
chdir failed - the server is not configured correctly
Are there any known fixes for this ?
Also:
I noticed that some of the directives, such as datadir, might be
non-functional or ignored elsewhere in coding of swat
Could this be the cause of the above errors ?
Finally here is the cli output
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
I recently started trying R and SSOAP and was able to successfully try a "hello
world" service. I am now trying to get a more complicated interface to work with
SSOAP and so far failed miserably at that and so need any help I can
get from here.
The service I am attaching is a prototype for a full service that would
take information to identify a data source and a query to run and
return
2008 May 05
7
extract and assign xml values to variable
hi,
how can we assign an xml element value to some variable in
controller? e.g. if we have
<order>
<id>1</id>
<name>abc</name>
<location>xyz</location>
</order>
and if we want value of name i.e. ''abc'' to be assigned in a variable
declared in a controller, say order_controller, like this- temp = "value
of xml element
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to
write in another way.
I have:
webservice WSDL link (https://something?WSDL, that''s .net webservice)
pem file (certificate, needed to authentificate for gettting data)
i need :
to consume that webservice without describing API''s for each method (i
mean use WSL to construct needed structures or objects).
2009 Oct 19
2
how to get rid of 2 for-loops and optimize runtime
Short: get rid of the loops I use and optimize runtime
Dear all,
I want to calculate for each row the amount of the month ago. I use a matrix with 2100 rows and 22 colums (which is still a very small matrix. nrows of other matrixes can easily be more then 100000)
Table before
Year month quarter yearmonth Service ... Amount
2009 9 Q3 092009 A ...
2019 Nov 21
7
[PATCH 0/2] Fixes and tweak to the installation of qemu-ga MSI
This, together with the changes to common repo are fixes to the installation
qemu-ga MSI.
There is still an issue that I did not figure yet how to fix. On Windows 10 it
fails to register the QEMU-GA service.
Tomáš Golembiovský (2):
windows: fix detection of qemu-ga installer on RHV
windows: small tweaks of qemu-ga firstboot script
v2v/convert_windows.ml | 8 +++++++-
v2v/windows_virtio.ml
2006 Jun 22
11
Help please
Getting this error:
SyntaxError in CompanyController#positionslist
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::2
I could not find anything out about it (googling) and it''s not the
clearest error message. Not sure if it''s related to an expected data
type but that wouldn''t make sense. The only other thing I can
2006 Jun 21
0
Scaffold error
Hoping someone call tell me what I''ve done wrong.
I was attempting to create a "static" scaffold (already have the
dynamic one) and received an error message:
"error Before updating scaffolding from new DB schema, try creating a
table for your model (Company)"
I already created a scaffold for Company (class CompanyController). I
want to create some better views.
2008 Sep 30
0
Tabbed Menus - link_to_unless_current
This is more difficult than I originally anticipated. Any help in
figuring this out is most appreciated:
This is a code snippet from my header.rhtml (or erb) file that draws
tabbed menus:
<ul>
<% [["Home", "/home" ],
["Positions", "/company" ],
["Leads",
2013 Feb 27
1
Point a Digium phone to a configuration URL using mDNS without DPMA or DHCP option 66
I have the following scenario. A small network has DHCP but does not publish option 66. An Asterisk server is on the network, but the Asterisk version does not support DPMA and it is hard to switch the version. However, there is a possibility to have a web
server and an mDNS (Avahi) server. I have been reading about provisioning Digium phones without DPMA, and it mentions that option 66 can
2013 Oct 11
40
[Bug 70388] New: [NV34] failed to idle channel 0xcccc0000
https://bugs.freedesktop.org/show_bug.cgi?id=70388
Priority: medium
Bug ID: 70388
Assignee: nouveau at lists.freedesktop.org
Summary: [NV34] failed to idle channel 0xcccc0000
Severity: critical
Classification: Unclassified
OS: Linux (All)
Reporter: rosti.bsd at gmail.com
Hardware: x86 (IA32)
2007 Nov 21
4
Builder::XmlMarkup adds <inspect/> on printing and <clone/> on saving
Hello,
I am new in this group. Please give me a short hint, in case this is
the wrong place for my posting.
I want to create an XML file and store it in "filetransfer". The XML
part of the file (the body) sould go to "filetransfer.data". Despite
the last line, everything is fine with the code below.
With "filetransfer.save" two entries "<clone/>"
2015 Nov 17
0
[PATCH 2/3] v2v: windows: Add a Windows '*.inf' file parser.
This simple parser has (limited) understanding of the Windows '*.inf'
file format. This is a Windows config file with some peculiarities.
This commit also has a unit test.
---
po/POTFILES-ml | 1 +
v2v/Makefile.am | 5 +-
v2v/v2v_unit_tests.ml | 104 +++++++++++++++++++++++++++++++++++-
v2v/windows_inf.ml | 143 ++++++++++++++++++++++++++++++++++++++++++++++++++
2010 Dec 18
1
Unable to mount SMB shares under Mac OS 10.6.5
Help -
(I'm new to the list, so please be gentle) I've tried Seagate support, and Apple Forums with no resolution or adequate suggestions for troubleshooting/resolving this issue, so I thought I'd try the samba community. It's a bit esoteric for me/most Mac users (SMB shares under Max OS X), but I thought I'd give it a try.
I can no longer mount any shares from my Seagate
2015 Nov 17
8
[PATCH 0/3] v2v: windows: Use '*.inf' files to control how Windows drivers are installed.
https://github.com/rwmjones/libguestfs/tree/rewrite-virtio-copy-drivers
Instead of trying to split and parse elements from virtio-win paths,
use the '*.inf' files supplied with the drivers to control how Windows
drivers are installed.
The following emails best explain how this works:
https://www.redhat.com/archives/libguestfs/2015-October/msg00352.html
2007 Jul 13
0
Wine release 0.9.41
This is release 0.9.41 of Wine, a free implementation of Windows on Unix.
What's new in this release:
- A number of gdiplus functions.
- More complete pdh.dll implementation.
- Support for MSI remote calls.
- Messaging support in crypt32.dll.
- Lots of bug fixes.
Because of lags created by using mirrors, this message may reach you
before the release is available at the public
1999 Jun 14
4
Samba causing problems with NT tools
Samba is causing a couple huge problems for the NT admins here since we
switched a bunch of machines to security=server and started running nmbd.
We're running Samba 2.0.2 and 2.0.3 on a mix of Solaris, HP-UX, and OSF1
machines.
One, selecting a Samba server in Server Manager, then selecting Computer/
Services causes Server Manager to crash ("An application error has
occurred, blah blah,
2003 Dec 01
0
No subject
copy d:\bugs.ps \\ouessant\lexmark
after having deleted all the samba log files and restarted the SMBd daemon from the SWAT Web interface.
This leads to the INTERNAL ERROR, see samba.oulx
Now, to locate the problem, I tried the same kind of command on the same file, bugs.ps, but using the SMBCLIENT application from the Linux server itself, without changing anything, nor restarting the SMBd