Displaying 8 results from an estimated 8 matches for "timestamptz".
Did you mean:
timestamp
2006 Apr 05
3
how to insert Current DateTime value into database?
Hi,
I want to insert onto database the Current DateTime Value into database
field "Store_date" with datatype (DATETIME). How to do tihs?
I am usiing hidden variable into my form as follows:-
=======================
<%= hidden_field("store", "store_date", :value =>:datetime ) %>
=======================
But when I m submmittng form I couldn''t find
2004 Aug 17
3
Fwd: strptime() problem?
...s for the clarification,
but perhaps I wasn't clear enough in posting my questions.
I've got a postgres database which I read into R. The first column is
Timestamp with timezone, and my data are already in UTC format. An 'printed'
extract of R character column, resulting from the timestamptz field is:
raincida$ts:
[2039] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC"
[2041] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC"
[2043] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC"
[2045] "26/03/2000 04:00:00...
2012 Jul 18
5
Any comment on adding #cast and #cast! to ActiveRecord::Relation?
Not getting any love (tender or otherwise) on my pull
request<https://github.com/rails/rails/pull/7035>so I thought you
folks might like to chip in. What do you think?
#cast and #cast! allow you to declare a mapping from generated column names
to simplified
database column types (i.e. those used in migrations). This way scopes with
columns generated in their select lists can also include
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
...ld is not getting updated.
> Since my task object doesn''t have scheduled_end_date over-written (any
> more), what else could cause that? Something weird seems to be going on in
> the db mapping.
>
> Does anyone know if there are any known issues supporting the Postgres
> timestamptz type?)
>
>
> On 4/28/06, Larry White < ljw1001@gmail.com> wrote:
> >
> > The write is not happening at all. I''ve got optimistic locking on and
> > the lock-version field did not update so the problem isn''t with an
> > individual setter (thoug...
2004 Aug 18
1
Fwd: strptime() problem? - Resolved
...n,
> but perhaps I wasn't clear enough in posting my questions.
>
> I've got a postgres database which I read into R. The first column is
> Timestamp with timezone, and my data are already in UTC format. An
> 'printed' extract of R character column, resulting from the timestamptz
> field is:
>
> raincida$ts:
>
> [2039] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC"
> [2041] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC"
> [2043] "26/03/2000 02:00:00 UTC" "26/03/2000 03:00:00 UTC"
>...
2006 Dec 04
7
I need help to connect Postgres and Ruby on Rails Please.
Hello to everyone, I have a problem that is giving me a headache, and
trying to do a project in Ruby on Rails and I need to connect with a
Data Base that is en Postgres, the truth is that I didn’t think that it
was so hard to connect a DB with postgres because I was working with
Msyql and everything was easy. This are the thinks that I have install
in my computer.
1. Debian GNU/Linux, kernel
2006 May 02
3
Ajax scaffolding respones are received, but not rendered in browser
...IE 6 as well with the same result.
Any help would be much appreciated.
CREATE TABLE message
(
id serial NOT NULL,
referenced_object int8 NOT NULL,
referenced_object_table char(20) NOT NULL,
title varchar(255) NOT NULL,
message_text text,
deleted bool NOT NULL DEFAULT false,
updated timestamptz NOT NULL DEFAULT now(),
updated_by int8 NOT NULL,
lock_version int4 DEFAULT 0,
CONSTRAINT message_pkey PRIMARY KEY (id)
)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060502/e518376e/attachment-0001....
2006 Apr 28
7
Active Record save doesn''t save! (or throw an exception)
PLEASE help me - this is making me insane.
Can anyone suggest any reasons for this behavior? It occured previously,
then went away and is now back.
In Task.rb (where task is an active record subclass)
def clear_schedule
puts "clearing schedule for task"
scheduled_end_date= nil #reset the
scheduled end date
save
halt.