Displaying 20 results from an estimated 600 matches similar to: "Anyone else notice that http://api.rubyonrails.org has been hijacked?"
2010 Aug 01
4
Admin interface for Rails?
Hello folks, I am currently working on a project that has to deliver
an admin interface like the Django''s one, I wanna know if you know/
recommend any gem or plugin for that.
Cheers,
Rodrigo Alves Vieira
--
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
2010 Jul 08
2
Paypal Integration
Hi all
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
2010 Feb 22
10
Error: "ActionController::InvalidAuthenticityToken"
Hi there,
I have my first Rails app running and I regularly get the following
"logged_exception" error message:
"ActionController::InvalidAuthenticityToken"
Has anybody an idea what might cause this problem? Could it somehow be a
"time out" error (like an "AuthenticityToken" which might expire after a
certain time, or something along those lines)?
Any
2010 Jun 04
9
Compress css files with Rails
Hi,
I work on a website with many css files. To improve the performance of
the site I would to merge all my css file into one on the production
site.
I know I could do this using plugins, but I heard it is possible
natively within rails.
Does someone know what it is?
Greg
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
2006 Nov 16
2
Fwd: building-a-multi-site-supported-application
Was looking for creating subdomains dynamically, and found this one.
I dont know how to set this up in my linux PC(The eg. is in mac)
http://railstips.org/2006/11/13/building-a-multi-site-supported-application
Any help is appreciated
--
--
Amala Singh
http://www.tamil.net/
தமிழ் இணையம்
Telford, UK
http://www.mindcolonies.com
http://www.ryze.com/go/amalasingh
--
--
Nandri,
Amala Singh
2010 Feb 23
11
Couldn't find without an ID
Hello all. I''m new to RoR. I am having trouble trying to get a simple
edit/update going. Everytime I hit submit, I get the following error:
+++++++++++++++++++++
Couldn''t find Content without an ID
Request
Parameters:
{"format"=>"#<content:0x4d3daac>",
"commit"=>"Update",
"_method"=>"put",
2010 Apr 14
4
module/class question
Are these two below the same thing?
1. module X
module Y
class Z
2. class X::Y::Z
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 Feb 24
6
Yet another send_data :image question...
Guys & gals,
I''m also learning RoR (using v2.3.4). I''ve got a basic scaffold
working for image file creation, and - to a point - image file
display.
The send_data function is working in my controller - no problem. The
model code is able to parse the uploaded file construct too.
def show
@image = Image.find(params[:id])
send_data(@image.binary_data, :type =>
2010 May 26
3
Counting indexes
Hallo!
I have a vector of ID's like so,
id <- c(1,2,2,3,3,3,4,5,5)
I would like to create a [start,stop] pair of vectors that index the first
and last observation per ID.
For the ID list above, it would look like
1 1
2 3
4 6
7 7
8 9
I haven't worked with indexes/data manipulation much in R, so any pointers
would be helpful.
Many thanks!
~~~~~~~~~~~~~~~~~~~
-Robin Jeffries
Dr.P.H.
2012 Aug 15
3
Subsetting with missing data
Simply put, I want to subset the data frame 'a' where 'y=0'.
> a <- as.data.frame(cbind(x=1:10, y=c(1,0,NA,1,0,NA,NA,1,1,0)))
> a
x y
1 1 1
2 2 0
3 3 NA
4 4 1
5 5 0
6 6 NA
7 7 NA
8 8 1
9 9 1
10 10 0
> names(a)
[1] "x" "y"
> table(a$y)
0 1
3 4
> table(a$y, useNA="always")
0 1 <NA>
3 4
2010 Oct 10
2
GC verbose=false still showing report
I must be reading the help file for gc() wrong. I thought it said that
gc(verbose=FALSE) will run the garbage collection without printing the
Ncells/Vcells summary. However, this is what I get:
gc(verbose = FALSE)
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 267097 14.3 531268 28.4 531268 28.4
Vcells 429302 3.3 20829406 159.0 55923977 426.7
I'm embedding this in an
2010 Apr 21
1
Cross-checking a custom function for separability indices
Hi list!
I have prepared a custom function (below) in order to calculate separability
indices (Divergence, Bhattacharyya, Jeffries-Matusita, Transformed divergene)
between two samples of (spectral land cover) classes.
I need help to cross-compare results to verify that it works as expected
(since I don't know of any other foss-tool that will give me quickly some
results).
Does anybody
2010 Nov 07
2
How is MissInfo calculated? (mitools)
What does missInfo compute and how is it computed?
There is only 1 observation missing the ethnic3 variable. There is no other
missing data.
N=1409
> summary(MIcombine(mod1))
Multiple imputation results:
with(rt.imp, glm(G1 ~ stdage + female + as.factor(ethnic3) + u,
family = binomial()))
MIcombine.default(mod1)
results se
(lower upper)
2005 Sep 16
5
Table belongs_to self - good idea?
Hi,
I have a somewhat complicated relationship question. I''ve been banging
my head about this for some time and have given in and decided to ask
the list :)
Here''s what I''m trying to achieve:
Products can have variants. For example, a t-shirt could come in
small, medium and large, but also black, green and blue in the first
two sizes, but only blue in large.
2011 Feb 02
2
Help with one of "those" apply functions
Hello there,
I'm still struggling with the *apply commands. I have 5 people with id's
from 10 to 14. I have varying amounts (nrep) of repeated outcome (value)
measured on them.
nrep <- 1:5
id <- rep(c("p1", "p2", "p3", "p4", "p5"), nrep)
value <- rnorm(length(id))
I want to create a new vector that contains the sum of the
2011 Jun 09
3
Resources for utilizing multiple processors
Hello,
I know of some various methods out there to utilize multiple processors but
am not sure what the best solution would be. First some things to note:
I'm running dependent simulations, so direct parallel coding is out
(multicore, doSnow, etc).
I'm on Windows, and don't know C. I don't plan on learning C or any of the
*nix languages.
My main concern deals with Multiple
2010 Apr 25
1
Obvious reason for not looping twice?
Is there an obvious reason why this won't loop to i=2 and beyond?
There are many combinations of *st* & *vc* that don't exist in svc. For
example, when s=1 there's only an entry at v=1. That's fine, the entry can
stay 0.
lookup.svc <- array(0,dim=c(length(unique(svc$st)),length(unique(svc$vc))),
dimnames=list(unique(svc$st), unique(svc$vc)))
for (i in
2010 May 08
1
Source.R file from cmd line
I want to set up a windows system task that will run a .R script at
pre-specified times.
Can someone please help with the command line syntax that I would assign to
the task?
I know that i can open a command prompt, type R, and then source the file,
but I don't know how to pass multiple line arguments to the command line in
a system task.
Thanks,
~~~~~~~~~~~~~~~~~~~
-Robin Jeffries
Dr.P.H.
2011 Jan 19
1
Printing "pretty' vectors in Sweave
I am trying to print a nice looking vector in Sweave.
c <- 1:4
I want to see (1, 2, 3, 4) in TeX. .
If I use
paste(c, ",", sep="")
I get
"1," "2," "3," "4,"
If use cat(c, sep=",")
I can't seem to assign it to an object,
1,2,3,4> myvec <- cat(c, sep=",")
1,2,3,4> myvec
NULL
and if I bypass the
2010 Jan 21
2
Problems completely reading in a "large" sized data set
I have been through the help file archives a number of times, and still
cannot figure out what is wrong.
I have a tab-delimited text file. 76Mb, so while it's large.. it's not
-that- large. I'm running Win7 x64 w/4G RAM and R 2.10.1
When I open this data in Excel, i have 27 rows and 450932 rows, excluding
the first row containing variable names.
I am trying to get this into R as a