Displaying 8 results from an estimated 8 matches for "provider_id".
2010 Sep 01
0
Error on update_attributes with HABTM relationship
Hope someone can tell me what''s up, because this has me baffled.
I have an Image model, and a Provider model. Both are defined as
"has_and_belongs_to_many" relating to each other. In my image form
partial, I have a bit of AJAX generating the provider_ids array
dynamically from a provider AJAX search on the same page.
So for example, each time I click on a provider name that comes up in
the search, it adds a line like this to the form markup:
<input type="hidden" name="image[provider_ids][]" value="3">
On hitt...
2007 Mar 26
2
Failure creating model in spec setup not reported?
...p { |p|
p.term }.sort.should == [ 36, 48 ]
end
end
Regardless of whether this is a good way to spec the association or
(probably) not, it fails on "@asset.save.should == true" with this
error:
should have many quote parameters
PGError: ERROR: null value in column "provider_id" violates not-null
constraint
: INSERT INTO products ("name", "provider_id", "default_term",
"maximum_resolicitation_period", "type", "gap_cover_type_id",
"created_at") VALUES(''Product1'', NULL, NULL,...
2006 Mar 06
0
two or three tables in one form
...tabase table to web
form (using
script\generate model Post and later script\generate controller Blog).
In the case ,I have 2 and 3 tables into 1 form. Does RoR support that?
For example: I store products and providers in two tables. These two
tables link together by "product_id" and "provider_id".But "product_id"
and "provider_id" are hard to read. I want one form that take
"product_name" and "product_description" from "product" table ;
"provider_name, adresse, etc.." from "provider" table. So I can
add/update.
Than...
2006 May 25
2
Best way to validate an integer field?
...Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, char 239
9
Invalid token
SQL Code = -104
Firebird Code = 335544569
: UPDATE parts SET "ORDERED_DATE" = CAST(''2006-05-24 21:45:00'' AS
TIMESTAMP), "ORDER_ID" = 13, "END_DATE" = NULL, "PROVIDER_ID" = 2,
"CODE" = ''jojo '', "GOAL_DATE" = CAST(''2006-05-28
21:45:00'' AS TIMESTAMP), "QUANTITY" =
99999999999999999999999999999999999999999999888888888888888888888888888888886666666666666666666666
WHERE id = 2...
2016 Nov 16
3
[PATCH] ssh-pkcs11: allow providing unconditional pin code for PKCS11
...buf[i] == '\r') {
+ buf[i] = '\0';
+ break;
+ }
+ }
+
+ return xstrdup(buf);
+}
+
/* openssl callback doing the actual signing operation */
static int
pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa,
@@ -575,6 +607,9 @@ pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp)
CK_TOKEN_INFO *token;
CK_ULONG i;
+ if (!pin)
+ pin = pkcs11_read_pinfile();
+
*keyp = NULL;
if (pkcs11_provider_lookup(provider_id) != NULL) {
debug("%s: provider already registered: %s",
2004 Jan 12
2
LCR / Trollphone Rate Engine
...------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+------------------+------+-----+---------+----------------+
| route_id | int(10) unsigned | | PRI | NULL | auto_increment |
| provider_id | int(10) unsigned | | MUL | 0 | |
| technology | varchar(16) | | | | | (I assume this should be SIP, IAX, etc)
| peer | varchar(32) | | | | | (I assume this is the hostname of the peer)
| p...
2016 Nov 16
2
[PATCH] ssh-pkcs11: allow providing unconditional pin code for PKCS11
...; || buf[i] == '\r') {
+ buf[i] = '\0';
+ break;
+ }
+ }
+
+ return xstrdup(buf);
+}
+
/* openssl callback doing the actual signing operation */
static int
pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa,
@@ -575,6 +607,9 @@ pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp)
CK_TOKEN_INFO *token;
CK_ULONG i;
+ if (!pin)
+ pin = pkcs11_read_pinfile();
+
*keyp = NULL;
if (pkcs11_provider_lookup(provider_id) != NULL) {
debug("%s: provider already registered: %s",
_______________________________________________
openssh-unix-de...
2015 Mar 31
7
Wanted: smartcard with ECDSA support
Hi list,
I have no idea if Damien Miller had the time to work on that.
I have an initial patch to authenticate using PKCS#11 and ECDSA keys.
This requires OpenSSL 1.0.2, prior OpenSSL versions do not expose the
required interfaces to override the signature function pointer for ECDSA.
The only limitation is that the OpenSSL API misses some cleanup function
(finish, for instance), hence I have yet