Displaying 11 results from an estimated 11 matches for "create_date".
2006 Mar 17
4
hidden fields
...ash: SHA1
Hi,
I''m a rails newbie trying to develop a blog application with rails. I''ve
some troubles to find the best way of automaticly set a field value on
update and creation of a blog item.
In fact my problem is very simple. I''ve a blog table with two column
named create_date an mod_date. And I''d like :
1 - that create_date is set on creation and is never modified after that
2 - mod_date is set on update
Pre-Thanks for help.
Antonin.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org...
2006 May 10
3
migrations :timestamp becomes :datetime in mySql
...his a bug, or is there something I can do about it?
(Obviously I can manually change my mysql table, but that kind of
defeats the point of migrations!)
In my migration file:
create_table :some_table do |table|
...
table.column :alter_date, :timestamp
table.column :create_date, :datetime
end
But in mysql I get:
CREATE TABLE `some_table` (
...
`alter_date` datetime default NULL,
`create_date` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci ;
--
Posted via http://www.ruby-forum.com/.
2006 May 05
3
Sorting by score
I''m trying to sort by score but it seems like SortField::SortType::SCORE
is 0 instead of a SortType. A test case is attached. Without the C
extensions the test passes, so I guess it''s a bug in them. Should I be
using it without the extensions? Because if that''s the case I have some
other bugs to report.
Greetings,
Pedro C?rte-Real
-------------- next part
2009 Nov 01
4
convert list to Dataframe
...attr(*, "ID")= chr "1"
.. ..- attr(*, "Language")= chr "en"
.. ..- attr(*, "LocalMetaData")= list()
.. ..- attr(*, "Origin")= chr(0)
- attr(*, "CMetaData")=List of 3
..$ NodeID : num 0
..$ MetaData:List of 2
.. ..$ create_date: POSIXlt[1:9], format: "2009-10-31 04:46:56"
.. ..$ creator : Named chr ""
.. .. ..- attr(*, "names")= chr "LOGNAME"
..$ Children: NULL
..- attr(*, "class")= chr "MetaDataNode"
- attr(*, "DMetaData")='data.frame...
2011 Sep 05
0
Stemming functions only work on the last word of plain text documents
... # collection of plain text documents
> corp <- Corpus(DirSource(path), readerControl = list(reader = readPlain, language = "en_US" , load = T))
> inspect(corp)
A corpus with 2 text documents
The metadata consists of 2 tag-value pairs and a data frame
Available tags are:
create_date creator
Available variables in the data frame are:
MetaID
$`1.txt`
running runs runners
$`2.txt`
happyness happies
> corp2<-tm_map(corp, SnowballStemmer)
> inspect(corp2)
A corpus with 2 text documents
The metadata consists of 2 tag-value pairs and a data frame
Available tags are:...
2010 Apr 23
2
Library (tm) Error: could not find function "TermDocMatrix".
...t21578XMLasPlain)))
A corpus with 20 text documents
> (r <- Corpus(DirSource(reut21578), readerControl = list(reader =
> readReut21578XMLasPlain)))> >
> summary(r)
A corpus with 20 text documents
The metadata consists of 2 tag-value pairs and a data frame
Available tags are:
create_date creator
Available variables in the data frame are:
MetaID
> rec.matrix <- TermDocMatrix(r)
Error: no se pudo encontrar la funci?n "TermDocMatrix"
Error: could not find function "TermDocMatrix".
Thanks
--
View this message in context: http://r.789695.n4.nabble...
2011 Nov 17
3
merging corpora and metadata
...0636.scrb
....
....
94 0 2 127 16225 17128 WCPD-2009-01-12-Pg22-3.scrb
> tot.corpus <- c(corpus.1, corpus.2)
> meta(tot.corpus)
MetaID
1 0
2 0
3 0
....
....
111 0
>
This is from the structure of corpus.1
..$ MetaData:List of 2
.. ..$ create_date: POSIXlt[1:1], format: "2011-11-17 21:09:57"
.. ..$ creator : chr "henk"
..$ Children: NULL
..- attr(*, "class")= chr "MetaDataNode"
- attr(*, "DMetaData")='data.frame': 17 obs. of 6 variables:
..$ MetaID : num [1:17] 0 0 0 0 0...
2007 Oct 30
3
[Weft QDA users] Using WeftQDA for Mailing-List Analysis
Hi Alex, Hi Weft-Users!
I am looking for a tool for doing a qualitative analysis of mailing-list
data. This means I have a *lot* of individual documents (the typical case:
around 500-5000 emails), belonging to the same "super-document" (a mailing
list).
I have looked at several tools and I like that Weft is public domain and
written in Ruby, so I want to figure out whether it
2010 Jan 22
1
Invalid input error in tm package
...les/provmedsurgj00978-0005b.pdf'
2: In readLines(y, encoding = x$Encoding) :
incomplete final line found on 'D:/Files/provmedsurgj00978-0007.pdf'*
*> inspect(surgj)*
*A corpus with 2 text documents
The metadata consists of 2 tag-value pairs and a data frame
Available tags are:
create_date creator
Available variables in the data frame are:
MetaID
[[1]]
%PDF-1.3
Error: invalid input '%Åþë×' in 'utf8towcs'*
Could anybody help me to identify where I went wrong and what I need to do
to proceed further?
Thanks,
Shreyasee
[[alternative HTML version deleted]]
2007 Apr 05
0
date
Please, how to transform data from date_select (a set of select boxes)
to one Time? Is there a built-in function? I need something like
create_date(params[:date]) - this would collect all values from select
boxes like date(3i), etc. and create a single date value. This is
automatically done when saving a date into the database, but don''t know
how to use the date in another way.
--
Posted via http://www.ruby-forum.com/.
--~--~------...
2012 Jan 08
2
cannot find package in Packages>>Install Packages
.....- attr(*, "Language")= chr "en"
>> .. ..- attr(*, "LocalMetaData")= list()
>> .. ..- attr(*, "Origin")= chr(0)
>> - attr(*, "CMetaData")=List of 3
>> ..$ NodeID : num 0
>> ..$ MetaData:List of 2
>> .. ..$ create_date: POSIXlt[1:9], format: "2009-10-31 04:46:56"
>> .. ..$ creator : Named chr ""
>> .. .. ..- attr(*, "names")= chr "LOGNAME"
>> ..$ Children: NULL
>> ..- attr(*, "class")= chr "MetaDataNode"
>> - attr(*,...