Displaying 20 results from an estimated 6000 matches similar to: "Finding what methods talk to the DB!"
2006 May 03
5
Finding the rhyme for has_many :through
Hi all,
I am NOT a person with English as my mother language and I haven''t been
programming long enough to be natural in these kind of things. And if
that isn''t bad enough, I am a newbie on Rails too... So please enligthen.
I am trying to build a simple tool for my shop. I have many products
that I sell in my shop and of course I have many suppliers for the
products. Thus
2006 Jan 04
1
[SOLVED] Am I going too far or Rails is just confusing?
On 1/4/06, John Indra <ji.milist@gmail.com> wrote:
> However, it doesn''t work for me. Following your article, I change my
I have found the source of the problem. I follow the solution provided by
http://blog.teksol.info/articles/2006/01/03/belongs_to-user-interface-take-ii
It''s a nice solution, however it contains typo :)
There is indeed no error_messages_on method,
2006 Jan 03
6
Am I going too far or Rails is just confusing? was {validates_presence_of *_id attributes}
Thanks for the input Blair Zajac and Chris (Nolan and Hall), and for others.
If all of you have time, please follow this (the question still
relates to the previous posts by me):
I have provided full steps to reproduce the symptoms.
If it matters, I''m running Ruby 1.8.2, Rails 1.0, and MySQL 5.0.15 on
Windows XP Professional.
1. First, the setup
MySQL
-----
create database testdb;
2006 Jan 03
4
validates_presence_of *_id attributes
Hi all,
I am a newbie to Rails. Please enlighten me on how to do this
appropriately, the Rails and the Ruby way:
Suppose I have a Recipe model. Let''s simplify things and pretend that
it has only 2 attributes, a :name and the other is a ''category_id''. In
the recipes table, category_id is a foreign key to field id of table
categories.
We also assume that I have generate
2006 Feb 21
5
No Log
I''m running an app under Apache/FastCGI and am trying to look at any log
output. However no output to any of the logs is being done by the app!
I have the app set to development mode.
I deleted all of the log files in the log directory and no new logs are
being created (I assume that the app will create the logs as required).
What''s going on here?
Is there some sort of
2024 Apr 25
1
[PATCH] Enable ssh_config to set LogPath option (-E)
ssh client has the ability to set the destination of debug logs via the `-E` flag. ssh_config lacks an equivalent keyword to set the same option via configs.
This patch follows the same semantics of other `*Path` type keywords and creates a new ssh_config keyword `LogPath`.
[0] Bugzilla: https://bugzilla.mindrot.org/show_bug.cgi?id=3683
[1] GitHub PR:
2006 Jan 23
9
Web Hosting Options?
Can someone recommend a good web host for ROR?
--
Posted via http://www.ruby-forum.com/.
2001 Apr 12
1
ssh's readconf.c debug() goes to /dev/null
Hi,
Related to:
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh.c.diff?r1=1.100&r2=1.101
It'd appear that logging in readconf.c:
---
debug("Applying options for %.100s", arg);
debug("Reading configuration data %.200s", filename);
---
Goes to /dev/null.
This is caused by the fact, that in ssh.c there is:
---
/*
* Initialize
2004 Mar 24
2
slow to drill into directories
I have a samba server configured at a clients office and sometimes when
he is drilling down into directories in his "File Explorer" it stalls. I
tail'ed the log files and I ran tcpdump, but I can't see anything that
stands out. What should I look at? I am running Samba Version 2.2.3a-12.3
for Debian.
brian
--
Brian Lavender
http://www.brie.com/brian/
2013 Apr 03
2
virt-manager slow to connect, hangs on new host dialog
Hello,
I am using virt-manager 0.9.4 on a Debian unstable system (libvirt
0.9.12) to connect to a libvirtd via SSH running on a Debian testing
system (also version 0.9.12), and I have a problem using
virt-manager, which first takes ages to connect, then freezes.
The SSH connection is top-quality, the hosts are next to each other
and connected by Gigabit Ethernet. virsh connections work fine.
2017 Jul 05
1
op-version for reset-brick (Was: Re: [ovirt-users] Upgrading HC from 4.0 to 4.1)
On Wed, Jul 5, 2017 at 6:39 PM, Atin Mukherjee <amukherj at redhat.com> wrote:
> OK, so the log just hints to the following:
>
> [2017-07-05 15:04:07.178204] E [MSGID: 106123] [glusterd-mgmt.c:1532:glusterd_mgmt_v3_commit]
> 0-management: Commit failed for operation Reset Brick on local node
> [2017-07-05 15:04:07.178214] E [MSGID: 106123]
>
2019 Dec 12
2
asterisk pjsip webrtc rtp to private IP
examples of "interesting" information like ICE result and howto make
"minimal" configuration of pjproject.conf
i.e.
for debugging app_queue.so
core set debug 5 app_queue.so
for debugging RTP
core set debug 10 rtp_engine
core set debug 10 res_rtp_asterisk
rtp set debug on
logger.conf
rtp => debug,verbose(5)
so i mean
in
2019 Dec 12
2
asterisk pjsip webrtc rtp to private IP
thank you very much. this is exactly whats needed for debug
example output for your info
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>:
icess0x7f5d44081e88 .Added new remote candidate from the request:
2.2.2.2:57536
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>:
icess0x7f5d44081e88 .New triggered check added: 1
[Dec 12 15:39:19]
2006 Apr 04
2
Default logger inside arbitrary classes
Hi,
What''s the best way to get the default logger (the one used during the tests) from inside a class that doesn''t inherit any rails class?
Thanks
Oscar
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Jul 23
1
Samba 3.0 beta 3 issues
Hi there,
I'm using Samba 3.0 beta 3 on RH 9 (connecting to a Windows 2000 domain,
as a member server) and I'm having trouble keeping samba running
reliably. At random times it seems to stop recognising names from the
domain. Restarting winbind fixes the problem, but then it occurs
randomly again, usually once or twice a day. At least once it has fixed
itself after being broken overnight
2014 Jun 12
2
libvirt issue while deploying a VM
Using libvirt under openstack I encounter a problem when launching a VM
with multiple partitions (2 G image) ,
While a single partition can be launched successfully . The launch is
done with Openstack.
We are using in libvirtd.conf log_level=1 and
log_outputs="1:file:/var/log/libvirt/libvirtd.log"
we can see that in /var/log/libvirt/libvirtd.log appear the following
error
2002 Sep 07
2
Can't access samba server from windows
Dear all,
I've already install new samba 2.2.5 at Redhat 7.3.
Some configuration of smb.conf has been tested using
testparm and no error return. Using LinNeigborhood I
can access some files and folders of windows PC. But
from windows I can't access samba directories and
files. Error report from windows is Network path was
not found. Lan connection is ok if test ping.
Can you suggest me
2010 Jan 03
9
ferret search in production
Hi there,
after recently deploying my app, I have noticed that the search
results are not being displayed...
When I look in my app, I also notice that the apps content (search
criterea) is not being indexed, so I dont have an index folder being
created.
I read on a google post that it may be that the ferret.yml server
isn''t started (or perhaps the content of this file are not right)
I
2017 Mar 10
2
kernel memory accounting
Hi CentOS experts,
I am using CentOS 7. Trying to disable kernel memory accounting:
according to https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt,
passing cgroup.memory=nokmem to the kernel at boot time, should be able to
archive that.
However it is not the case in my exercise. These are what I have now
$ grep CONFIG_MEMCG_KMEM /boot/config-3.10.0-327.36.3.el7.x86_64
2004 Aug 08
1
using ULOG
hi,
if i would like to use ulog (in order to split netfilter messages from
other kernel messages), than i have to set all loglevel to ULOG? and
then is there any way to define diferent loglevel for eg. maclist?
thanks in advance.
yours.
ps. it''s a bit confusing that all loglevel parameter name is LOG_LEVEL
except BLACKLIST_LOGLEVEL:-(
--
Levente