Displaying 20 results from an estimated 128 matches for "farmers".
Did you mean:
farmer
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow
2006 Jul 02
2
:include breaks has_many :order
It would appear that using :include on a model that has_many with an
:order on another model makes it so that the order is ignored. Is this
supposed to happen? Strikes me as odd behavior.
For example
class Farmer < ActiveRecord::Base
has_many :cows, :order => ''position''
end
class Cow < ActiveRecord::Base
acts_as_list :scope => :farmer
end
If I do
2011 Jan 16
4
persistence by reachability
Hello guys, I have these models
class Farmer < ActiveRecord::Base
has_many :cows
end
class Cow < ActiveRecord::Base
set_table_name :cows
belongs_to :farmer
end
...
graph = Farmer.find(x) # Retrieves four cows of x
graph.cows[1].name = "Trottolina"
graph.save
while adding a new cow to collection works perfectly fine, ActiveRecord
doesn''t
2010 Sep 16
5
AGI Delimiter in 1.6
Hi
I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things
I do on INVITES is to re-authenticate the user from OpenSER. Then when
the INVITE gets passed to Asterisk I capture the AUTH to a variable in
the dialplan and pass to an AGI script. I am now trying to set the
same thing up in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the
2019 Apr 04
2
PJSIP Delay in Dialing
Thanks Joshua.
Hopefully I'll be able to retry tomorrow.
On Thu, 4 Apr 2019 at 15:30, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 11:27 AM, Mark Farmer wrote:
> > Thanks, I did enable debugging but didn't see any attempts to resolve
> > hostnames. I will give it another look.
> >
> > I did have an empty resolver_unbound.conf
2007 Apr 05
0
Help: Ticket farmers
Hi all,
Now that it looks like we have some kind of process to manage
tickets, I need people to help me with that process.
There are currently something like 117 open tickets, and there are
about 6 different dimensions on which these tickets can be
categorized (e.g., complexity, triage stage -- all the report times
listed on the Reports page).
My plan is to work my fingers raw going
2019 Apr 04
2
PJSIP Delay in Dialing
Sorry, should have included that.
Asterisk 16.2.1
Mark.
On Thu, 4 Apr 2019 at 14:56, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 10:53 AM, Mark Farmer wrote:
> > As I understand it, delays like this are almost always caused by slow
> > or failing DNS lookups. Running a packet capture on all interfaces
> > filtering on port 53 shows no DNS
2019 Apr 04
2
PJSIP Delay in Dialing
Seems to be res_resolver_unbound.so
Reading the documentation now but any hints greatly appreciated!
Mark.
On Thu, 4 Apr 2019 at 15:07, Joshua C. Colp <jcolp at digium.com> wrote:
> On Thu, Apr 4, 2019, at 11:03 AM, Mark Farmer wrote:
> > Sorry, should have included that.
> >
> > Asterisk 16.2.1
>
> And what res_resolver module is loaded and in use? Depending
2010 Dec 15
5
Allegations regarding OpenBSD IPSEC
Some of you probably already read this:
http://marc.info/?l=openbsd-tech&m=129236621626462&w=2
Interesting...I wonder what is the impact of all this on FreeBSD code.
We may very well suppose that any government or corporation funded code
can theoretically have some kind of backdoor inside.
--Andy
2019 Apr 04
2
PJSIP Delay in Dialing
Thanks, I did enable debugging but didn't see any attempts to resolve
hostnames. I will give it another look.
I did have an empty resolver_unbound.conf (not even a general context) -
would that likely cause issues? I would expect the defaults to kick in but
I have now added:
[general]
hosts=system
I will retest/debug when ASAP.
Mark.
On Thu, 4 Apr 2019 at 15:20, Joshua C. Colp <jcolp
2019 Jun 14
2
Early Media Issue
Hi all
I've got an issue where when I call a number that just plays early media
back to me.
Instead of hearing the full sequence of tones I hear a short ringing then
part of the sequence. What seems odd is that I can see
the telephone-event/8000 being passed up the chain but when it gets to
Asterisk, it is never sent back to the phone. Instead I just see the usual
RTP flows.
I've been
2011 Jul 12
2
Deviance of zeroinfl/hurdle models
Dear list, I'm wondering if anyone can help me calculate the deviance
of either a zeroinfl or hurdle model from package pscl?
Even if someone could point me to the correct formula for calculating
the deviance, I could do the rest on my own.
I am trying to calculate a pseudo-R-squared measure based on the
R^{2}_{DEV} of [1], so I need to be able to calculate the deviance of
the full and null
2006 Apr 11
1
Question on clicking
This isn't an asterisk question, more of a telco question. Hopefully
someone on this list involved with telco can answer it.
I have a client who is using asterisk with analog phone lines. There
is a bad clicking noise on the line. "Click.... Click.... Click".
We have narrowed it down to being the farmer's fencer next door. (And
by next door I mean 2 acres away).
2005 May 25
15
PHP/AGI Problem
Hi
I am currently developing a IVR application using
PHP/AGI. I am using the PHPAGI class at
http://phpagi.sourceforge.net/ to handle the
commuication with my *.
The application basically asks a caller to enter in
some information which is then processed and a answer
is read back out to them. I want the application to
loop back to the beginning after giving the answer so
they can try another
2019 Apr 05
2
PJSIP Delay in Dialing
On Fri, Apr 5, 2019, at 8:07 AM, Mark Farmer wrote:
> Hi. Sadly I'm still struggling with this. I've captured the debug output.
> I also upgraded to 16.3.0 this morning.
>
> https://pastebin.com/raw/HxbX0uXt
This doesn't really give enough context to be able to really say anything. The SIP traffic, "pjsip set logger on", and normal verbose information mixed in
2006 Jan 12
12
Ajax Button Back function?
Hi Folks! I''m new in the forum and i have a doubt. The button back
function with the Ajax on Rails? tks.
--
Posted via http://www.ruby-forum.com/.
2019 Apr 02
2
PJSIP/SIPAddHeader etc
Hi everyone
I’m building an Asterisk 16/PJSIP server and my dialplan uses SIPAddHeader & SIPRemoveHeader but the apps don’t appear to be installed in v16.
Can anyone tell me where they went and how to get them installed please?
Thanks
Mark.
Mark Farmer
Senior UC Systems Architect
Intercity Technology Limited
HQ 101-114 Holloway Head, Birmingham, B1 1QP
Tel: 0330 332 7933 / 07872542107 /
2010 Jun 17
1
plotting radial dendrograms
Dear list,
I am trying to plot a radial dendrogram using the ape package, which
requires my data to be of class 'phylo'. Currently I have my
dendrogram stored as an object of class 'dendrogram' which was
produced from an outside bit of C code, but was made into an object of
class 'igraph.eigenc' and converted to a dendrogram using
'as.dendrogram()' from the igraph
2006 Apr 05
5
Dial Plan Logic Problem
Hi
I can't for the life of me work out why this is not
working. When in the campon contect if you hit a DTMF
key 2 you get moved to the exten => 2 defined in the
mainmenu context not the exten => 2 defined in the
campon context. What is wrong? The same happens if you
hit key 1.
[campon]
exten => _*1XXX,1,Answer
exten => _*1XXX,2,SetCallerID(${CALLERIDNUM})
exten =>
2006 Jan 09
3
Selecting a subset of a table with DRY
Hello,
I have table called ''listings.'' There are a certain combination of
properties which make a listing viewable (e.g., it is confirmed, has
been authorized, hasn''t expired, etc.). Each listing has one and only
one category.
I want to be able to do things like Listing.find_viewable(...) and
Category.find(...).viewable_listings, but I see no way to do this