similar to: newbie Q: it won't display foreign keys...

Displaying 20 results from an estimated 1200 matches similar to: "newbie Q: it won't display foreign keys..."

2008 May 15
1
Remove controller name from URL > nested routes
Hi.. There are my nested routes map.resources :continent do |continent| continent.resources :land do |land| land.resources :destination end end By example it generates this url http://example/continent/azie/land/japan/destination/aomori I want http://example/continent/azie/japan/aomori How can i realize this...? Grtz...remco -- Posted via
2008 Nov 18
0
Scoping option_groups_from_collection_for_select
How can I scope the options returned by option_groups_from_collection_for_select? Method calls look like this: option_groups_from_collection_for_select (collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil) But say I want to limit the results returned by the option_key and option_value methods to some particular scope? For instance, using the
2006 Jul 25
6
DRY question (newbie)
Say i want to include the same chunck of text (a menu on a webpage for example) on each page. Is there a method by which I can save the HTML in a text file and call it up later? Is there a better way? I know ruby has "puts" but i can''t use that b/c it does not work with my webhost (dreamhost.com) Any suggestions? -- Posted via http://www.ruby-forum.com/.
2009 Feb 26
8
beginners question
hi group, I am making a little rails app to experiment with rails. It consists of one model, item, that represents an item on a todo list. A todo item has a description, a state (finished or not) and a due date. After changing the scaffold screens a bit, I wanted to be able to have no due date. I tried to do this by making a radio button; if ''no date'' is selected, the date
2017 Jun 11
3
[PATCH] doc: Add notes about subframe sample size
>> I'm jumping in on this thread to make a few remarks about the spec. I >> implemented a FLAC decoder by only looking at the spec, and I have a few >> notes that would have saved me a lot of time if the spec had mentioned >> them. They are obvious in hindsight, of course. >> >> * If the channel assignment includes a difference channel, then the >>
2003 Apr 23
3
equipment
Hello, it is likely that I will have to analyze a rather sizeable dataset: 60000 records, 10 to 15 variables. I will have to make descriptive statistics, and estimate linear models, glm's and maybe Cox proportional hazard model with time varying covariates. In theory, this is possible in R, but I would like to get some feedback on the equipment I should get for this. At this moment, I have a
2004 Aug 13
2
smbpasswd overwrites existing displayname in LDAP entry
Configuration: Samba 2.2.8a with openLDAP 2.1.30 on a SeSE 8.2. server When adding a user using a ldif file we give the user a given name, say Ruud Baart. The cn and uid are the same, say 21cs12345 (a studentnumber). After adding the user to LDAP the displayname is as expected: "Ruud Baart". However after smbpasswd -a 21cs12345 -s secret the displayname is "21cs12345".
2016 Nov 02
3
No stats under FreeBSD 10.3
prw-rw-rw- 1 root wheel 0 Nov 1 13:09 stats-mail prw------- 1 root wheel 0 Nov 1 13:09 stats-user drwxr-x--- 2 root dovenull 4 Nov 1 13:09 token-login If something other than root is trying to write to stats-user, we found the issue. this is on 10.3-STABLE On Wed, Nov 2, 2016 at 12:13 PM, Timo Sirainen <tss at iki.fi> wrote: > On 01 Nov 2016, at 22:31,
2016 Nov 01
2
No stats under FreeBSD 10.3
HI, I?m currently testing the stats module of Dovecot (2.2.26.0 (23d1de6)) Looks like there no statistics under FreeBSD. Server isn?t busy yet but got at least a few connection open. Added mail_plugins = $mail_plugins stats plugin { stats_refresh = 30 secs stats_track_cmds = yes } doveadm stats dump global reset_timestamp last_update num_logins num_cmds num_connected_sessions
2005 Oct 20
4
creating a derived variable in a data frame
Hello, I have read through the manuals and can't seem to find an answer. I have a categorical, character variable that has hundreds of values. I want to group the existing values of this variable into a new, derived (categorical) variable by applying conditions to the values in the data. For example, suppose I have a data frame with variables: date, country, x, y, and z. x,y,z are
2003 Aug 20
2
Command line R / PHP?
Greetings All, Just a quick query about calling R. Looking through the manual you start R with $ R, and then start calling R functions e.g plot whatever. Sounds pretty funky, and R looks to be *the* open source maths package. Awesome ... I would like to call R from my favourite glue language PHP (rather than call perl which calls R) if possible. To call R from the command line is all this
2003 May 15
3
ssl still not working
hi, I'm just download the latest cvs and try to use imaps. in mozilla I've got the following message window: ----------------------------- mail.int.bppiac.hu received a message with incorrect Message Authentication Code. If the error occurs frequently, contact the website administrator. ----------------------------- and there is only one OK button:-) and this happens always. what can be
2005 Apr 24
2
A question on the library lme4
Hi, I ran the following model using nlme: model2<-lme(log(malrat1)~I(year-1982),random=~1|Continent/Country,data=wbmal10) I'm trying to run a Poisson GlMM to avoid the above transformation but I don't know how to specify the model using lmer in the lme4 library: model3<-lmer((malrat1)~I(year-1982) + ??,data=wbmal10,family=poisson) How can I introduce a random factor of the
2008 Nov 26
1
eclipse and R
Hello, I am trying to install Eclipse and R on an amd64 machine running Suse linux 9.3. I have compiled R 2.8.0 with --enable-R-shlib and it seems that compilation was successfull. After starting R, I installed the latest rJava package, from the output: checking whether JRI is requested... yes cp src/libjri.so libjri.so It seems JRI support has been compiled successfully. However, when I try
2008 Nov 28
1
specifications windows pc
Hello, I am about to order a new workstation at my university that will be used for R (and other research related tasks). I would appreciate any feedback on the specifications of a very fast machine. The machine should run windows (XP probably better than vista). Which chip, memory size and specification, etc should I be looking for? Thanks, Ruud [[alternative HTML version deleted]]
2002 Jun 02
1
PATCH for Symbios/LSIlogic scsi and isolinux
Attached patch allows isolinux to boot from a CDROM attached to a NCR/Symbios/LSIlogic SCSI controller (bios version 4.19). It appears this bios can't read more than 1 sector at the time using the ah=42h int13 call. The isolinux boot was failing early on when 4 sector are read. (bios returned error 0 !) I'm not sure if the same 'getlinsec' routine is called upon later to load
2007 Aug 21
2
divided scatter plots
I have a data set which contains two columns. The first column is a list of countries, and the second column contains their political risk ratings. I would like to create one large plot that contains 5 different sections, each with a scatter plot. To clarify, I have divided the countries into 5 groups. For each group (continent), I would like to have the name of the continent on the x-axis, and
2008 May 30
1
Question about adding text to xYplot(Hmisc)
Hello, I have been trying to make a graph that have error bars and text at specific position. I used the following code from the help file of xYplot(Hmisc) as an example except I add a myPanel function, which is just supposed to add letters from the alphabet at the position aligned at y = 3. It constantly gives me error: "Error using packet 1 argument "subscripts" is
2002 May 21
2
LPR or LPRng or CUPS
I'm converting my NT 4.0 Print Servers to Samba Print Servers. Which printing system should I be using? LPR, LPRng or CUPS. I would love to have some feedback on the advantages and disadvantages or what the Samba Team recommends as a standard for working wih Samba. In case you need it, my system is SuSE 7 kernel 2.2.16 running under VM on s/390. Thanks, Josh Konkol, CNE MCSE Senior
2009 May 04
1
mosaic plot with two factors and one continous variable
Hello, my dataset is already aggregated: I have two categorical variables, say "continent" and "country" and one non-negative metric variable "population". Now I would like to produce a mosaic plot which uses "population" to determine how large each area of the plot is. In other words, I fail to find out - how to use the mosaic function of the vcd package