similar to: Timestamps casted to nil?

Displaying 14 results from an estimated 14 matches similar to: "Timestamps casted to nil?"

2006 Mar 14
4
ruby-postgres: can''t convert string to integer
Hi everybody, I''m experiencing trouble when trying to use ruby-postgres with a legacy database I need access to. To me it seems the problem is the VARCHAR columns used there as primary keys. On a simple me = User.find(''PS12345'') I get a type error exception with the message ''can''t convert String into Integer''. The trace is:
2006 Mar 27
5
Fake ActiveRecord model?
Hi all, I have a legacy table which I cannot get to work with ActiveRecord (no ids etc). All I want is to create a class which opens a connection manually and allows me to execute some plain SQL statements. What I can''t figure out is how to either build up a connection and execute queries from a non-AR inherited class, or how to create a AR-inherited class minus all the AR magic and
2010 Mar 03
2
Viewing cetificate details
Hi, I don't see any way to view the details of a certificate once it is generated. Having such a capability would be very handy for debugging purposes to check what constraints, principals, and validity interval are associated with a given cert. -- Iain Morgan
2007 Oct 07
1
activerecord problem with contrains,belongs_to and has_many keyword
Hi, I have two models: AdvertisementImages (table: advertisement_images) Advertisement (table: advertisements) The table advertisement_images has a foreign key to advertisements called advertisement_id. Both tables has one entry where the entry in dvertisement_images belongs to advertisement. The model code looks lik this so far: class AdvertisementImages < ActiveRecord::Base file_column
2006 Jan 23
2
DRY encoding conversion and onload ajax execution
Hi everybody, my first Rails app is a frontend for customer data pulled from a legacy postgres database. The db is encoded in Latin1, but my pages will be UTF-8. What is the best way of character encoding conversion? I haven''t found any way to have Rails deal with this natively, so I assume I have to take care of this myself, right? Where would I place my conversion code if I want
2007 Nov 24
12
orphan habtm rows
HI, i use models User and Groups connected with many to many association, so i have users table, groups and groups_users. lets say i create one user and one group. next i add a group to user. so now my table groups_users has one entry i.e. group_id | user_id _________|________ 1 | 1 ok, when i delete both my group and user, above entry is not deleted, thus leaving alone without
2006 Nov 15
11
OpenSSH Certkey (PKI)
This patch against OpenBSD -current adds a simple form of PKI to OpenSSH. We'll be using it at work. See README.certkey (the first chunk of the patch) for details. Everything below is BSD licensed, sponsored by Allamanda Networks AG. Daniel --- /dev/null Wed Nov 15 15:14:20 2006 +++ README.certkey Wed Nov 15 15:13:45 2006 @@ -0,0 +1,176 @@ +OpenSSH Certkey + +INTRODUCTION + +Certkey allows
2009 Aug 12
0
Problem with Linux x86_64 RODBC and Netezza (PR#13889)
Full_Name: Kenneth Cater Version: 2.9.1 OS: Linux x86_64 Submission from: (NULL) (171.159.192.10) It appears that R closes my connection to the Netezza device before the Netezza has completed its return of data, below are two files clean_test.log which tracks the systems call made when running the test.r file, and clean_test.out which is the output generated when test.r is executed. Notice how
2016 Dec 16
0
Help needed: How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
I want to detect bad casts in C++ code by using the Clang compiler. The approach is similar to what Caver and TypeSan do but without using the compiler-rt. Caver and TypeSan: https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-lee.pdf https://nebelwelt.net/publications/files/16CCS2.pdf For example if I have the following C++ code snippet where I want to cast object b into
2016 Dec 21
2
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
I want to detect bad casts in C++ code by using the Clang compiler. The approach is similar to what Caver and TypeSan do but without using the compiler-rt. Caver and TypeSan: https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-lee.pdf https://nebelwelt.net/publications/files/16CCS2.pdf For example if I have the following C++ code snippet where I want to cast object b into
2016 Dec 13
1
help needed: How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
I want to detect bad casts in C++ code by using the Clang compiler. The approach is similar to what Caver and TypeSan do but without using the compiler-rt. Caver and TypeSan: https://www.usenix.org/system/files/conference/usenixsecurity15/sec15-paper-lee.pdf https://nebelwelt.net/publications/files/16CCS2.pdf For example if I have the following C++ code snippet where I want to cast object b into
2016 Dec 21
3
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
Hi Mehdi, thanks a lot for your email. Actually I was disappointed by the fact that I was not able to get a useful answer to my two questions. As I observed that the questions move down along the list with time passing I decided to re-post them in the hope that the questions will have a better visibility. Could you help me with the two questions? Finding an expert in this area would be of great
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
> On Dec 21, 2016, at 8:38 AM, Paul <paul at sec.in.tum.de> wrote: > > Hi Mehdi, > > thanks a lot for your email. Actually I was disappointed by the fact that I was not able to get a useful answer to my two questions. > As I observed that the questions move down along the list with time passing I decided to re-post them in the hope that the questions > will have a
2016 Dec 21
0
*********How to get during compile time the base class of casted C++ object inside static_cast<> and dynamic_cast<> and the pointer of the casted object
Hi Paul, It is the 4th time in two weeks that you repost the exact same two emails, that’s a bit high repost rate for the mailing-list, especially considering that you already got answers that you ignored previously: - http://lists.llvm.org/pipermail/llvm-dev/2016-December/108060.html - http://lists.llvm.org/pipermail/llvm-dev/2016-December/108051.html Adding an alternate email in case you