Displaying 20 results from an estimated 20000 matches similar to: "Select Collection with Conditions - May Help You..."
2013 Jun 18
1
How to Pass Jquery selected dropdown values and radio button values to controller
Hi,
I have an advance search page and its code is as follows -
I have written my code like this
<div class="container">
<%= form_tag search_index_path, method: :get do %>
<%= radio_button_tag ''user_type'', ''customer'' %><p>Customer</p>
<%= radio_button_tag ''user_type'',
2008 Feb 07
1
ActiveRecord 'find_or_initialize_by' dynamic finder bug? Ignoring conditions.
Hello all,
I just ran into something that I think is a bug, and I would like to
confirm with the core team whether this is expected/desired behavior
or if this is a bug that I should file and develop failing tests for
(I doubt I have the active record method_missing fu to actually patch
it).
Test Scenario:
I would like to find or initialize a new user and base the find on the
users email
2009 Jul 16
0
[LLVMdev] Unexpected failures in the DejaGNU test collection
On Tue, Jul 14, 2009 at 11:08 AM, Tanya Lattner<lattner at apple.com> wrote:
>
> On Jul 14, 2009, at 10:03 AM, Devang Patel wrote:
>
> On Tue, Jul 14, 2009 at 8:49 AM, Daniel Dunbar<daniel at zuster.org> wrote:
>
> Since it came up, what is blocking us from putting these tests in the
>
> llvm-gcc test suite instead of in the LLVM test suite?
>
> Usually we
2005 Dec 14
4
find_by_ issue
In the Agile RoR book, page 219 (softcover version) they talk about the
fact you can use the methods: find_by_ and find_all_by_ and fill in the
last piece with a valid column name.
So I have a database table called "parts" and the following columns:
id
partname
partnumber
vendor
I do the following:
(connection to DB already established)
class Part < ActiveRecord::Base
end
2008 Mar 14
1
how do i get country_select and select to show values
Hi i am a newbee at rails and i am using the country_select and select
drop down boxes in my new.rhtml I can make these work fine but when i
try viewing it in my database and show and index they just wont appear,
I have tried to edited it to how do I go about showing these items
everywhere i am completely stuck.
if text field = f.text_field
then why doesnt country_select = f.country_select or
2008 Feb 08
4
x-post : find_or_initialize_by ActiveRecord bug? Ignores :conditions
Hello, I posted this on the rails talk group but received no
response. Perhaps someone on this list could weigh in on whether this
is expected/desired behavior or a bug that I should file and develop
failing tests for
(I doubt I have the active record method_missing fu to actually patch
it).
Test Scenario:
I would like to find or initialize a new user and base the find on the
users email
2020 May 14
0
I can do alaw, ulaw and gsm; remote can do g729 and alaw; asterisk wants to translate g729 -> alaw. WHY?
The other end is sending g729 even though it was not negotiated. The other
end should not do this and it usually seems that the other ends that do
send g729.
This was recently fixed. See
https://issues.asterisk.org/jira/browse/ASTERISK-28139
Richard
On Thu, May 14, 2020 at 1:11 AM John Hughes <john at calva.com> wrote:
> I am having a problem with one of my callers who is using
2007 Nov 12
1
R - lme
Dear R gurus,
I am trying to work out the problem given in Nested design - Montgomery - Design of Experiments p.561
I have attached a pdf of the data as well the anova table. It is a mixed model with Supplier as fixed effect and batches within the supplier as random effects.
I am able to work out the error stratums as below using aov. Which agrees perfectly with the book example
2020 May 14
6
I can do alaw, ulaw and gsm; remote can do g729 and alaw; asterisk wants to translate g729 -> alaw. WHY?
I am having a problem with one of my callers who is using either g729 or
alaw. I can do alaw but not g729 so asterisk should negotiate alaw
right? In fact from the sip debug it looks like it does, but then I get
the dreaded "channel.c:5630 set_format: Unable to find a codec
translation path: (g729) -> (alaw)" and the call hangs up. Why?
Last minute thought: Is it possible that
2006 Oct 11
1
Echo problems on ISDN. (mainly incoming call s)
what happens when you drop your gains? use /etc/asterisk/zaptel.conf and
fiddle with tx and rx values. Works, most of the time.
-----Original Message-----
From: John McEntee [mailto:john@mcentee87.freeserve.co.uk]
Sent: Wednesday, October 11, 2006 12:25 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Echo problems on ISDN. (mainly incoming calls)
OK I
2009 May 10
1
Select the rows in a dataframe that matches a criteria in another dataframe
Hi everyone! Thank you for the help you have been given to
me, and here I'm with another problem with my dataframes:
I have two dataframes (with much more observations), like
these:
Dataframe1
Firm Year cash
500400200 2007 100
500400200 2006 200
500400200 2005 400
500400300 2007 300
500400300 2006 240
500400300 2005 120
500400400
2009 Jan 02
1
[Fwd: Re: [R] Randomly remove condition-selected rows from a matrix]
Following Duncan's suggestion, I forward the below to R-devel.
vQ
-------- Original Message --------
Subject: Re: [R] Randomly remove condition-selected rows from a matrix
Date: Fri, 02 Jan 2009 10:34:52 -0500
From: Duncan Murdoch <murdoch at stats.uwo.ca>
To: Wacek Kusnierczyk <Waclaw.Marcin.Kusnierczyk at idi.ntnu.no>
CC: R help <R-help at stat.math.ethz.ch>
2009 Jul 14
3
[LLVMdev] Unexpected failures in the DejaGNU test collection
On Jul 14, 2009, at 10:03 AM, Devang Patel wrote:
> On Tue, Jul 14, 2009 at 8:49 AM, Daniel Dunbar<daniel at zuster.org>
> wrote:
>> Since it came up, what is blocking us from putting these tests in the
>> llvm-gcc test suite instead of in the LLVM test suite?
>
> Usually we want to check these tests regularly against llvm backend
> changes. The nightly tester
2006 Apr 04
2
Pagination and Parent Conditions
Can I do any "fancy" conditionals when using the Pagination helper?
The problem is that I want to be able to specify a conditional based
on the criteria of a parent object. Here''s an example:
Object A has_many Object B''s
I want to paginate through 100 B''s but I *only* want it to return the
ones who''s A.flag = true
I poked around through the Wiki
2020 May 14
0
I can do alaw, ulaw and gsm; remote can do g729 and alaw; asterisk wants to translate g729 -> alaw. WHY?
On 14/05/2020 08:10, John Hughes wrote:
>
> I am having a problem with one of my callers who is using either g729
> or alaw. I can do alaw but not g729 so asterisk should negotiate alaw
> right? In fact from the sip debug it looks like it does, but then I
> get the dreaded "channel.c:5630 set_format: Unable to find a codec
> translation path: (g729) -> (alaw)"
2006 Aug 07
1
Escape ''&'' in text_field_with_auto_complete
Good day.
I have searched on the net and through the archives to now avail as of yet.
I have a text_field_with_auto_complete that searches for company names.
These company names obviously can have an ''&'' in the name of the company
(example Barnes & Nobel).
The auto complete works beautifully.
However, the problem arises when I pass the name of the company to the
2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
Yeah, right... I posted this to the Rails mailing list.
Sorry for people who see duplicate posts.
-------- Original Message --------
Subject: [Rails] Re: [Rails-spinoffs] Autocomplete - setting a second value?
Date: Mon, 26 Sep 2005 10:05:24 -0400
From: Fran?ois Beausoleil <fbeausoleil@ftml.net>
Reply-To: rails@lists.rubyonrails.org
To: rails@lists.rubyonrails.org
References:
2016 Apr 27
1
error.crosses
Hello all, I have used describeBy to generate the following summary
statistics. I simply need x and y error bars on a plot that has CQN
(xaxis) and Price (yaxis). There should be four total points on the graph
(one for each supplier).
Using "error.crosses(desc$CQN, desc$Price)" does not work.
group: a
vars n mean sd median trimmed mad min max range skew
CQN
2020 May 14
1
I can do alaw, ulaw and gsm; remote can do g729 and alaw; asterisk wants to translate g729 -> alaw. WHY?
On Thu, May 14, 2020 at 11:31 AM John Hughes <john at calva.com> wrote:
> On 14/05/2020 08:10, John Hughes wrote:
>
> I am having a problem with one of my callers who is using either g729 or
> alaw. I can do alaw but not g729 so asterisk should negotiate alaw right?
> In fact from the sip debug it looks like it does, but then I get the
> dreaded "channel.c:5630
2016 Apr 27
0
error.crosses
Hello all, I have used describeBy to generate the following summary
statistics. I simply need x and y error bars on a plot that has CQN
(xaxis) and Price (yaxis). There should be four total points on the graph
(one for each supplier).
Using "error.crosses(desc$CQN, desc$Price)" does not work.
group: a
vars n mean sd median trimmed mad min max range skew
CQN