similar to: How to make an SQL querey Within a partial, is that possilbe??

Displaying 20 results from an estimated 400 matches similar to: "How to make an SQL querey Within a partial, is that possilbe??"

2010 May 27
1
How to pass an Variable to an Partial?!?
Hello, I''m new in Rails and I''m Trying to implement a plattform were authorized people can apply Profiles to a special topic. The profil can be identified by the ID and the title in the data base. So in the view/profil/show_profil.html.erb the infomation of one Profil are perfektly shown. My problem: I have an data base table called : "comment" in which I save comments
2004 Apr 29
1
model.tabels warning refers to wrong function (PR#6839)
Full_Name: Corey A. Moffet Version: 1.8.1 OS: Windows 2000 and RHL 9 Submission from: (NULL) (199.133.140.156) The function model.tables.aov and perhaps other model.tables methods refer the user to use the function se.contrasts when the design is unbalanced. The function name is se.contrast (singular).
2005 Dec 27
3
What is the best way of setting up the following model:
Hi, I am new to Rails (and Ruby) and for what i have seen sofar i like it a lot! But i can''t figure out what the best sollution would be for the following: Lets say i want to setup a CRM system and i have to sorts of contacts: Customers and Prospects. A part of the info is the same (addresses, company info etc) for both customers an prospects and a part is different. What i would
2006 Nov 06
1
Hmisc, latex cdec not as expected - again
Hello all. Sorry for reposting this message, but I accedently sent it in HTML-format the first time. I have encountered at problem when using the Hmisc package to generate latex-tabels. I can't seem to control the number of digits in the latex-file. I have used the Design and Hmisc packages for a while without this problem, but after upgrading to R-2.4.0 the problem has occured. I
2004 Jun 04
1
roaming profil problem
hello, I've got a strange problem after an upgrade to samba 3. The existing profils are now unavailable for users, depending on their local rights. If the user is locally admin, his profil is succesfully loaded on login. Else there's no error, but the profil isn't loaded. The samba logs don't show anything special, but i can send them if someone want it. If I create new users,
2006 May 16
9
Array in database?
Hello, I wanted to know how to make an aray in the database. I''m making a "backpack" for my game. So i''m gana use it in a array. -- Posted via http://www.ruby-forum.com/.
2006 Jun 15
6
[OT] Tables VS divs for form layout.
I''ve been using tables to get my forms to line up. ( I have usually one column for labels, and a column for values ). Should I be using divs instead? I''ve been reading some CSS design books lately. They tend to recommend divs over tables for general page layout stuff. But, what about the forms elements? What''s the ''best practice'' in this regard?
2020 Jun 05
2
Extended attributes not working on mac
these lines were an option before but have already been marked as comments in my config. same behaviour as before, color tag shows for round about a second and disappears suddenly. Martin > Am 05.06.2020 um 09:23 schrieb Ralph Boehme via samba <samba at lists.samba.org>: > > Am 6/5/20 um 8:33 AM schrieb Martin Steiner / 3MF GmbH: >> Any more ideas? It?s not displaying
2020 Jun 05
2
Extended attributes not working on mac
as i can see from the log files it is reading 60 bytes from the extended attributes but not from any other than DosStream.AFP_AfpInfo. All of the .com.apple.* attributes, especially DosStream.com.apple.metadata:_kMDItemUserTags are missing when listing the directory. And again - it tries to access a dotbar file which cannot exist with these settings. BTW, accessing kMDItemFinderComment works
2007 May 27
1
Problem while working with SPSS data
Dear all R users, I got a strange problem while working with SPSS data : I wrote following : library(foreign) data.original = as.data.frame(read.spss(file="c:/Program Files/SPSS/Employee data.sav")) data = as.data.frame(cbind(data.original$MINORITY, data.original$EDUC, data.original$PREVEXP, data.original$JOBCAT, data.original$GENDER)) colnames(data) = c('MINORITY',
2010 Aug 25
3
Windows 7 on startup always loads temporary profiles samba 3.4.8
Dear all, I think this is discussed ?here several times but this problem driving me mad. I can join the win7 pc to the samba domain on the fly, but after logoff and then logon it always complain about The temporary profile thing (on Win xp it is working!!!!!): In my global section: logon script=login.bat logon path=\\%L\homes\%U\profile then: [profiles] ?? comment = Benutzer Profil %U ?? path
2009 Aug 12
1
calling a function with dynamically generated buttons
Hallo, I'm dynamically generating buttons depending on the number of rows of my dataframe. Every button is supposed to call a function which generates a plot with the values of one of my dataframe rows. My code looks like this: base <- tktoplevel() plotten <- function(mat, namen, titel) { midpts <- barplot(height=mat, names.arg = namen, main = titel, las=2)
2011 Sep 15
1
Move the main titel to the left of the plot
Dear R helpers I wish to move the main title, which appears on a dotplot to be right aligned with the left axis. Is there are parameter associated with dotplot 'main' that allows the title to be placed where I want it? Code snippet relating to dotplot is below. with(Cal_dat, dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt, fill_var = Commodity,
2018 Feb 06
1
GPOs not Working!
now, im on a phone and no browser, so limit help. first thing i see.   CN=Bj”rn <User>,CN=Users,DC=rootrudi,DC=de Bj”rn ?  is your system set to utf8? i dont know, but this does not look right. i see, wifi? yes, try utp. langsame Verbindung:500 kbps and do try the ignore systemacl.  that solves the user/group “nt authority\system” problems the easy way. greetz Louis Op 6 feb. 2018
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2? I can''t seem to get a very simple example to work: ----- ruby test/unit/news_item_test.rb Loaded suite test/unit/news_item_test Started F. Finished in 0.10109 seconds. 1) Failure: test_add_content_translations(NewsItemTest) [test/unit/news_item_test.rb:49]: <"US Title"> expected but was
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello, I have the TCl/Tk command "tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R script. Now I want to perform some operation in relation to the user's choice, something like "if (okpressed) xxx else yyy" What values does this command give and how are they used? Thank you, Richard -- Richard M?ller -
2011 Jan 22
1
R TABELS
Hi ihave one table that look like SNP1 SNP2 SNP3 SNP4 SNP5 SIRE1 1 -1 -1 1 -1 SIRE2 1 -1 1 1 1 SIRE3 -1 -1 1 1 0 SIRE4 -1 1 1 0 1 SIRE5 -1 1 -1 -1 1 SIRE6 0 0 0 1 -1 SIRE7 -1 0 -1 1 1 SIRE8 1 -1 NA 0 NA SIRE9 -1 1 1 -1 -1 SIRE10 1 1 1 1 1 table 2 only one line SNP1 SNP2 SNP3 SNP4 SNP5 SIRE100 -1 -1 1
2004 Jun 14
3
How to 'stamp' a plot with meta-data?
Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(), barplot(), hist(), etc.; and, to be able to produce plots with or without the metadata by a simple toggle mechanism.
2011 Nov 30
1
migrate samba3 with smpbassword to ldap , problem with machine account
Hello, I want to migrate a server from redhat9 with samba (3.0.11) using smbpasswd file to regiter account to ubuntu server (8.04 hardy hearon) with ldap (samba 3.4.5). First I have got the original sid and modify i for all entries in ldap To migrate machine account I insert in ldap id and NTPassword found in smbpasswd. Example:
2014 Mar 10
1
samba4 and dsadd command
Greetings! FreeBSD amd64 10.0 operating system software installed Samba 4.1.4 from ports with defaultsettings. From Windows 7 32-bit Enterprise (Hungary) client from the command lineI started a dsadd command, which included the following: dsadd user CN=ValakiJanos,OU=Tart,DC=valami,DC=local -pwd Jelszok_ -hmdrvP: -hmdir \\probal\home\ValakiJanos -profile\\probal\Profiles\ValakiJanos -display