Displaying 20 results from an estimated 800 matches similar to: "Rails 2 to Rails 3 - How to convert this sql query ?"
2010 Sep 27
3
Rails3 app deploy : how to ?
Hello,
I know many people are asking this kind of question. I searched in
this forum and some others in the web but i did found something clear
enough for my "ror''s power" (i''m not completly new but real
close ;-) )
Well, I''m developing my application on os x, i''m using svn (team
choice) for versionning but i will need to deploy on linux server
(with
2009 Oct 06
8
How do I access a child table/model from the parent in sql s
I am trying to use the fourth normal form for my applications so that i
can get the information in the appropriate language.
I have a table called manufacturers. I have another called descriptions.
The descriptions are in two languages and each description belongs to a
particular language. So two records in the Descriptions table one in
English and One in French for each manufacturer. The
2012 Jun 30
4
find_by_sql and join
hi
I amd tanizawa.
I had problem.
I can not get main.name value from below sql.
"find_by_sql ''select main.id,main.name,sub.name from main left join sub
on sub.id = main.id''"
Please teach me how to get borth name value.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the
2012 May 13
2
multiple arguments to select
I read in the Rails 3 Way book that when using select(), you can, in
addition to adding calculated columns (i.g. using sql aggregate
functions), include additional attributes in resulting object by
passing the wild card like this:
Unit.select(:*,"sum(unit_type_id) as
total").group("created_at").having(["created_at > ?", 2.days.ago])
That should give you the new
2018 Sep 24
4
DM: samba 4.5 -> 4.8, guest access and machine account access troubles.
On Mon, 24 Sep 2018 17:33:47 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! L.P.H. van Belle via samba
> In chel di` si favelave...
>
> > I hope this helps you understanding your problem a bit more.
> > See also:
> > https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/local-accounts
>
> No,
2016 May 25
4
Re: Windows Server 2008 - KVM
Hi there!
I have installed a new VM with Win2k8 and the serial virtio driver works
fine. I don´t know why the other VM the BSOD happen!
About the performance, I had the impression that only one core is
used.....PID 8301 is a linux VM with 4 VCPU and 2 GB of RAM...
2016-05-25 3:39 GMT-03:00 Dominique Ramaekers <
dominique.ramaekers@cometal.be>:
>
>
> *Van:* Thiago
2018 Sep 24
2
DM: samba 4.5 -> 4.8, guest access and machine account access troubles.
You know what windows did with the "default" local, Administrator on the PC..
They disabled them...
If you joined a domain, then still, the PC administrator is disabled.
And the users is called PCNAME\Administrator and not Administrator
You have "BUILTIN\Administrator" on the servers. ( or SERVERNAME\Administrator )
I hope this helps you understanding your problem a
2004 Jun 02
5
ZyXEL Prestige 2000W SIP hangup fails
Does anybody have any experience with the ZyXEL Prestige 2000W? I am
having problems with the line tear down when I call another extension.
If nobody picks up at the other end when I hangup the 2000W, the other
extension continues to ring. Is there any way to hangup a SIP call if
there is no more traffic? Asterisk seems to think that there is still a
connection open. This is pretty annoying
2007 Oct 26
3
Binaries for AIX 5.1
Hi,
I'm looking for binaries of Samba 3 for AIX 5.1
The ones availables on Samba's FTP (
http://us3.samba.org/samba/ftp/Binary_Packages/AIX/ ) are given for AIX
5.2 or 5.3 (what is said in the README)
I found references to 3.0.21 packages (like in this message
http://lists.samba.org/archive/samba/2006-January/116792.html ) that had
existed, but this one is no longer avaible :(
So, do
2015 Nov 09
2
答复: How could I do the guest mount operation from the host?
Hi,
I have tried usb and it doesn’t work. I don’t know if the filesystem tag could work…
I find in the formatdomain docs about the filesystem:
<filesystem type='mount' accessmode='passthrough'>
<driver type='path' wrpolicy='immediate'/>
<source dir='/export/to/guest'/>
<target
2006 Jul 29
2
deflexion exercise?
I read the Ed Gibbs blog posting on BDD, and there was a reference to
implementing the game Deflexions as a way of learning about
expectations...
I''d like to do this exercise, can you provide me with the details
(starting points, objectives, etc...)
Thanks!
Dominique
-------------------------------------------------------------
dom.website = http://www.binaryshift.com
2006 Sep 15
4
DotNet applications
Hi,
I have an application that want to install the DotNet FrameWork. the
Setup of the FrameWork starts, but then fails with the message, Internet
Explorer 5.5 or higher would be required.
How can I get over this message without really installing an Internet
Explorer?
As far as I know, for all Applications that require IE, the
renderengine khtml is used instead.
Could it be hacked in that
2001 Dec 20
3
OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
Hi,
Trying to install the Solaris package I made after configure/compilation
under Solaris 8.
My configure settings
---------------------
OpenSSH has been configured with the following options:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Askpass program: /usr/local/libexec/ssh-askpass
2015 Nov 09
1
答复: How could I do the guest mount operation from the host?
Yes, my modification is like you. I doubt that if the mount operation on the host is reasonable…
And what is p9?
Best Regards
From Jiaping LI
发件人: Dominique Ramaekers [mailto:dominique.ramaekers@cometal.be]
发送时间: 2015年11月9日 15:08
收件人: 李笳平; 'libvirt-users@redhat.com'
主题: RE: [libvirt-users] How could I do the guest mount operation from the host?
For usb I meant something like:
<disk
2016 May 20
4
Re: Windows Server 2008 - KVM
Hi there!
Although the guest has 2GB memory, the windows guest was adjusted to
support this.
I guess that the LVM is the best choice! I will save all images to other
disk and re-build the partition with LVM. Do you recomend to use ext4 or
zfs ?
- About the apparmor, I have my doubts, I will try to disable and see what
will happen!
- About the tablet input device, I removed! Some forums say that
2004 Sep 21
4
Voicemail forward to a remote server?
Anybody ever managed to implement a solution where one could forward a
voicemail from one * server to another?
Dominique
2016 May 20
1
Re: Windows Server 2008 - KVM
Hi Dominique,
You’ll have to convert the qcow to raw, create a LVM-volume (don’t create a
file system on the volume), and dd the raw tot he LVM volume…
Convert the qcow to raw, Ok
Create a LVM-Volume, OK
Don´t create a file system on the volume ?? Is not clear why...
DD the raw to the LVM? How ? I don´t understand this point....
Thanks a lot!
2016-05-20 10:23 GMT-03:00 Dominique
2005 May 25
3
DOING CLUSTERING WITH THE EM ALGORITHM
Hello,
I am looking for documentation (PDF ?) about doing clustering with the EM Algorithm on R... I'm sorry for this question which may be trivial...
Thanks...
Dominique
2015 Jan 31
2
Re: HugePages - can't start guest that requires them
Yeah, Dominique, your wiki was one of the many docs I read through
before/during/after starting down this primrose path... thanks for writing
it. I'm an Arch user, and I couldn't find anything to indicate qemu, as its
compiled for Arch, will look in /etc/default/qemu-kvm. And now that I've
got the right page size, the instances are starting...
The reason I want to use the page element
2015 Sep 16
2
Re: libvirt 1.19: could not open drive file (permission denied)
@requillart
Don't get me wrong. It's no problem to use other partitions. Only, you have to add the location to the storage pool of libvirt...
Sorry, no experience with gnome-boxes.
@crequill
Add a new storage pool with the destination /home/crequill/VM
You can't fool apparmour with a link...
Also with adding the storage pool, it's easier to get a clear picture of the usage of your