similar to: Finding distinct months using find_by_sql

Displaying 20 results from an estimated 500 matches similar to: "Finding distinct months using find_by_sql"

2006 Jul 20
11
3 columns
Hi all, Not really sure what to put in the title so hope people still open this! What I want to do is produce something like this Col1 Col2 Col3 data1 data2 data3 data4 data5 data6 data7 data8 data9 data.. data.. data.. data.. data.. data.. data-n data-n+1 data-n+2 I can get the data back from my db
2007 May 06
1
validates_uniqueness_of (with :scope) doesn't seem to work?
I have a master record called ''project'' and a child record called ''agycode''. Obviously, agycode has a project_id FK. I wish to make the "descr" field unique ONLY within the ''project_id'' ''scope''. Here are the key pieces of information Agycode fields (id, project_id, descr) Here''s the declaration in the
2009 May 14
1
replacing default axis labels on a plot
I have 3 columns: flow, month, and monthname, where month is 1-12, and monthname is name of month. I can't get the plot to replace the 1-12 with monthname using ticks.lab. What am I doing wrong? plot(flow~factor(month),xlab="Month",ylab="Total Flow per Month", ylim=c(0,55000), ticks.lab="monthname") Thanks Gregory A. Graves Lead Scientist REstoration
2011 Jan 01
4
Saving the monitor file on new file always using Monitor(wav, Record1, m)
Dear List; For each call (in specific case), I need to do a record and save in a spearated file, so I am thinking the best thing is to save based on the time. Monitor(wav,Record1,m) So, how can I make the file name to be based on the current time (which is changed always, or based on the some unique paramter (related to the call it self). Any advise? Regards Bilal
2006 Apr 05
7
Archive monthly count for blog
I am creating a blog to learn ruby on rails. from the layout page i pass all the posts as a collection to _archive.rhtml <%= render :partial => "archive", :collection => @archive %> On _archive.rhtml i have access to the collection. I am then gone to render partial another page _archivecount.rhtml to display the number of posts for each month. Can anyone give a clue
2006 Mar 23
7
Fixtures just Do Not Work for Me
Hello, I have been struggling to get fixtures to work here with no success. They just Do Not Work For Me (tm). I have created a model named Headline with the `generate'' script and modified the test/fixtumes/headlines.yml as follows ---------- gita: id: 1 author: raulseixas title: gita happened_at: 2005-01-01 00:00:00 description: gita This is the CD reissue of
2006 Aug 19
1
caches_page does not follow url path
I am using lighttpd. I have a controller (headlines) with a caches_page :index. When invoked via http://0.0.0.0:3000/headlines/ I find a index.html cached in the public folder. The server did not create a headlines folder and place the cached index page within the controller directory as expected. Is there a configuration detail I need to change?
2010 May 18
5
samba.org has been revised!
As some of you might have noticed, the official Samba web site [1] has been revised during the sambaXP conference [2]. The web design was revamped and a new logo has been created. Some of the related pages (e.g. the Wiki [3]) have already been adapted to the new style as well. Special thanks go to Blackbit [4] for creating the new design, to SerNet [5] for sponsoring and to Stefan Metzmacher
2004 Nov 23
4
oh323/g729 and DTMF
Hi everyone, Could somebody enlighten me on this one? I have configured my asterisk to run on oh323 using codec g729. Incoming calls are working okay. But the thing I want to work is say pressing some options, say dial 1 to go to voicemail or dial a certain number to dial a specific extension. I have a config for this and tried calling from a normal PSTN and is working. But i just can't seem
2007 Jun 06
1
"selected" in form.select
I have a search form in my navbar where a user can select in which area he wants to search. After clicking the submit-button the results get rendered but the previous selected area is no longer selected. <%= form.select (:suchfeld, [ [''Beschreibungen'',''description''], [''Headlines'',''headline'']] ) %> I was able to
2004 Sep 01
3
Engelmann AudioJack
Recently I've started to see quite a few clients connecting with Engelmann AudioJack ('Engelmann Media Radio Listener' is the browser ID): http://www.audiojack.org/?file=Index&lang=english Anybody else seeing quite a few of these clients all of a sudden? I don't have a windows box to try this software on, but from their website it looks like something equivalent to the XM
2011 Nov 04
1
problem when exiting from "record file" function without pressing the escape digit
Hi everybody, I've been working on a project which records the voice of the incoming call. I use record_file function of asterisk as described below: RECORD FILE <filename> <format> <escape digits> <timeout> [offset samples] [BEEP] [s=<silence>] filename: record1 format: wav escape digits: # timeout: -1 offset samples: 0 BEEP: 1 silence: 3000 *Please read the
2007 Mar 17
3
guidelines for version specific info on wiki pages
hi Guys, Just wondering if we should have some guidelines as to how version specific information should be handled on the wiki ? One way might be to have a version tag on each page on the top right and indicate what Versions that page is going to work with. Then in the body have a Grey bar to indicate version specific info. But this might get a bit messy. Any other ideas ? - KB --
2011 Jul 11
1
Finding Confidence Intervals
This is a very basic question, so please bear with me. I've been learning about AB Testing, which is largely used in internet marketing to examine the effectiveness of certain aspects of ads, websites, etc. Here's a couple links to people who want to know more about AB Testing:
2014 Mar 03
2
Re: 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)
On 03/03/2014 10:44, Martin Kletzander wrote: > On Mon, Mar 03, 2014 at 10:30:11AM +0000, Struan Bartlett wrote: >> Hi Martin >> >> Thanks for your response. Here's the output of that grep: >> >> # grep ^flags /proc/cpuinfo | sort -u >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov pat pse36 clflush dts acpi mmx
2009 Feb 20
2
cluster analysis: mean values for each variable and cluster
Hi all! I'm new to R and don't know many about it. Because it is free, I managed to learn it a little bit. Here is my problem: I did a cluster analysis on 30 observations and 16 variables (monde, figaro, liberation, etc.). Here is the .txt data file:
2015 Jan 16
6
KB2992611
* Version: Samba 4.2.0rc3 * Distribution: Ubuntu Server 14.04 LTS * Client: Windows 8.1 Professional Having installed Samba4 servers at our two sites and ensured that replication is working correctly, I connected a brand new Windows 8.1 Professional PC to the new AD network as a test. I immediately encountered two problems: 1. Web credentials were not being remembered in either Internet
2009 Jul 09
1
Wiki page "HowTos/Subversion" needs rearrangement
Dear all, While translating the "HowTos/Subversion" wiki page, I've found that the order of the following paragraphs need to be rearranged in this way to make sense: == References: == Subversion: ... Version Control with ... == 1) Installation: == [root at lucifer ~] ... The first thing ... <--- this has been moved When you install ... <---
2008 Aug 24
2
Missing ids in documentation
I notice some link that didn''t work in the documentation. By closer inspection I found that some of the headlines missed id-tags. The following grep sequence find them. grep ''<h3'' *.html | grep ''#'' | grep -v ''id='' Here is the output brush.html:<h3 class="Brush_getcolour">Brush#get_colour</h3>
2019 Jun 25
2
Error determinigng PSOs in system [SEC=UNOFFICIAL]
UNOFFICIAL Thanks Tim, I was just wondering if my mistake was raising the functional-level. This confirms it. This apparently also broke backup. I cannot create the container, because the current schema (2003) doesn't support msDS-PasswordSettingsContainer. It seems impossible (and dangerous) to update the schema. I was given a reference to a thread about updating the schema but - the