Displaying 20 results from an estimated 1000 matches similar to: ":conditions => ... formatting"
2005 Nov 22
3
Idiom for submit button?
What is the rails idiom for submit buttons on forms?
All other field types have helpers, but button_to creates its
own form, so should not be used. I''ve looked in "Agile Web Dev. with
Rails" but can''t see what I should do instead.
Is this "difficult" because it runs counter to AJAX type forms?
And, related, is there a way to ensure that hitting return in
2005 Dec 13
4
find()ing rows w/ NULL columns?
Agile Web Development with Rails doesn''t seem to have NULL in the
index [or my eyes have failed me again], and web searching turns up
lots of SQL statements containing NOT NULL.
I have a table of loans, and I want to record when something was
loaned and returned. The loan date can''t be null, or there''d be
no entry in the table. The return date must be something
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth
Win32 binary gems install. When I try gem update RedCloth, it just
installs 4.1.9. Did I do something wrong in the gemspec? Would
someone else with a windows machine try it and let me know how it goes?
Jason
2004 Jul 19
1
My fox build segfaults on Solaris 9 gcc.
On Wed, 7 Jul 2004, Hugh Sasse Staff Elec Eng wrote:
> On Tue, 6 Jul 2004, jeroen wrote:
>
>> On Tuesday 06 July 2004 10:26 am, Hugh Sasse Staff Elec Eng wrote:
>>> The last thing I get on building the Fox library is
>>>
>>> g++ -shared FX4Splitter.lo FXAccelTable.lo FXApp.lo
>>> FXArrowButton.lo FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo
>
2008 Mar 04
6
find_all_by deprecated?
Is find_all_by deprecated and/or find_first_by for 2.0.2? If not,
what is actually deprecated? just find_all(..) and find_first()?
Thanks for clearing this up.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Sep 07
7
Rails VERY slow on Vista
When I try to script/generate something I have to wait above 2 minutes
befor I get result. Is there some way to fix this? I have Intel Core 2
Duo 6420 with 2GB RAM.
On my Slackware Duron 800 MHz it takes about 45 sec...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
2009 Nov 27
1
problem with "dynformula" from "plm" package [RE-POST]
Hello list,
I'm following the paper (http://www.jstatsoft.org/v27/i02/paper) on
how to use "plm" to run panel regressions, and am having trouble with
what I believe should be something very basic.
When I run the command (p.9 in the paper):
R>
dynformula(emp~wage+capital,log=list(capital=FALSE,TRUE),lag=list(emp=2,c(2,3)),diff=list(FALSE,capital=TRUE))
I see:
emp ~ wage +
2010 Jan 25
3
Issue using tapply
Hello all,
I am trying to use the tapply function to sum some values and change the
column names of the resulting vector.
I input
Emp Et
1 10565 ACC
2 7515 ADM
3 625 AGF
4 6243 CNS
5 12721 EDU
6 3924 FIN
7 18140 HLH
8 3686 INF
9 15841 MFG
10 243 MIN
11 1864 MNG
12 4664 OSV
13 5496 PRF
14 4988 PUB
15 2166 REC
16 2153 REL
17 16082 RTL
18 3582 TRN
19 757 UTL
20
2010 May 06
1
question about rolling regressions
Hi All,
I am using R 2.11.0 on a Ubuntu machine. I have a time series data set and
want to run rolling regressions with it. Any suggestions would be useful.
Here are the details:
(1) I convert relevant variables into time series objects and compute first
differences:
vad <- ts(data$ALLGVA/data$GDPDEF, start=1948, frequency=1)
emp <- ts(data$ALLEMP, start=1948, frequency=1)
vad.dif1 <-
2006 Jul 06
4
Oracle HR on Rails
Interesting read...apologies if it has been posted already.
http://www.oracle.com/technology/pub/articles/saternos-rails.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/619e650a/attachment.html
2006 Feb 20
7
Native erb lacks -%>, where is Rails'' erb?
Native ERB in ruby, and eruby, seem to lack the -%> feature for
suppressing trailing newlines. Thus
erb -n script
gives errors. Where is Rails ERB so I can invoke it directly?
Thank you
Hugh
2006 Jan 12
1
A really newbie question
Hi,
I have been playing around with Ruby after reading so much about it, and
so I started tweaking with auto generated scaffold.
But it seems like I must be missing something, can someone else please
help me take a look and give me a couple pointers? In short I was trying
to make a class User that has a method addupdate with 2 parameters
(alias and email) which would either update the
2007 Jan 24
14
Strikethroughs and dashes
Who really uses strikethroughs?? This is one of the most common
tripwires in RedCloth.
You are the friend--the only friend--who has offered to help.
Obviously em dashes.
I died in -2006- wait, no, two-thousand-FIVE!
Obviously strikethrough.
I''m going on a trip - a long one - to the Virgin Islands.
That''s got to be en dashes.
Such a cheap, no-hassle, no-worry
2007 Sep 11
1
Vector Size Error Message
I have been using R off an on for approximately 3 months. As such, I am
not very knowledgeable about coding in R. Currently I am running into
the following problem. I'm using scan to make data available in R. The
data I'm loading consists of over 400,000 records with 5 data fields.
After running the following statement:
mod1<-glm(DefMigFlag~MaxFICO,
2009 Mar 18
2
geometric mean of probability density functions
Hi,
This is my first time posting to the mailing list, so if I'm doing something
wrong, just let me know. I've taken ~1000 samples from 8 biological
replicates, and I want to somehow combine the density functions of the
replicates. Currently, I can plot the density function for each biological
replicate, and I'd like to see how pool of replicates compares to a
simulation I conducted
2005 Mar 08
1
To convert an adjacency list model into a nested set model
Dear R-help
I am wondering if somebody wrote some code to convert an adjacency list
model into a nested set model.
In principal I want to do the same as John Celko mentioned it here with
SQL:
http://groups.google.co.uk/groups?hl=en&lr=lang_en&selm=8j0n05%24n31%241
%40nnrp1.deja.com
Assume you have a tree structure like this
Albert
/ \
/
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script.
Having had to upgrade rails once, and knowing that this is likely to
happen again because of the rapid updating of rails, it seems the
most sensible way to do it. As a result, I often do
/bin/rm -rf csestore
and then run my script from another window to repopulate it.
So naturally, to save having to cd into csestore, and
2016 Jun 24
3
Ayuda ggplot2
Hola a todos!
Soy nueva en R y necesito hacer unos gráficos para una investigación, he
explorado un poco y estoy intentando usar ggplot2 ya que hace gráficos de
muy buena calidad...tengo los datos de varios años para diferentes grupos
de empresas y los pretendo graficar tanto en un solo grafico como en varios
(facet_wrap) pero tengo problemas con el eje de las X, ya que necesito que
aparezcan los
2011 Feb 02
2
Efficient way to determine if a data frame has missing observations
I have a data set covering a large number of cities with values for characteristics such as land area, population, and employment. The problem I have is that some cities lack observations for some of the characteristics and I'd like a quick way to determine which cities have missing data. For example:
2006 Mar 15
3
Self-referential join model does not work
I have been trying to model a labeled graph using ActiveRecord (trunk
version). Basically, I have a ''Node'' model which represents a node linking
to other nodes. Links (aka edges) are labeled (i.e., have a ''label''
attribute and other behavior). Thus I decided to model edges as an ''Edge''
model and use a ''has_many :trough''