Displaying 4 results from an estimated 4 matches for "date_entered".
2012 Jul 11
2
Passing Multiple Variable Into SQLDF Statement as parameters of function
...my sqldf statements? In particular, the sqldf is supposed to
read the date parameter as a character string (its the only way I could get
it to work).
This is my code so far:
> StartDate='2010-06-15'
> EndDate='2010-06-22'
> Example=paste("select * from LibDB where Date_Entered
> =",as.character(StartDate))
> sqldf(Example,verbose=TRUE)
This passes the StartDate in correctly, but in a form where my particular
query won't pick up the date in the database. In reality, I want it to act
as the following:
> Example=paste("select * from LibDB where Date...
2006 Jul 13
5
Relationships: one model referencing same table for different data sets?
Hi,
After I''ve saved, I want to display the Description from the Codes table that
corresponds with the ID in the Cause table.
Rails doesn''t seem to like that, because on my form, I have two sets of data in
combo boxes that come from the Codes table. So, in the show template, I can''t
do this:
Cause of Death: <%= @cause.code.description %>
Any ideas?
The
2006 Sep 07
6
form_for - Child object - how to set parent id
...ine. However I need to somehow set the blog Id on the comment that is
entered into that form. Here is the rhtml for the list:
<% for blog in @blogs %>
<span class="blog_header"><%=h blog.title %></span>
<span class="blog_date"><%=h blog.date_entered.to_s(:long) %></span>
<span class="blog_body"><%=h blog.body %></span>
<div class="blog_comments">
<span class="blog_comments_count"><%=h
pluralize(blog.comments.size,"comments") %></h2>...
2005 Jul 07
8
Mass mail performance
How does Action Mailer perform when sending out say 3,000 emails? I
know the answer will have a lot to do with the hardware, but in general,
is Action Mailer up to the task of completing an operation like this in
reasonable time?