search for: aroth

Displaying 5 results from an estimated 5 matches for "aroth".

Did you mean: arith
2005 Dec 23
6
file_column and HABTM
I have several models that will be using file_column by way of the "Picture" class (HABTM). Right now, all pictures are stored in: public/picture/image/1/filename1.jpg public/picture/image/2/filename2.jpg Is there a way I can dynamically define the "store_dir" based on the model? For example, if I have "user", "product" and "place" models all
2006 Feb 28
14
Multiple Models w/ acts_as_ferret
I have multiple models all with: acts_as_ferret :fields => [...] (models = profiles, blogs, comments ) When I restart the server and perform any crud operation on one of the above models, the index is created/updated. If I then go and perform any crud operation on ANOTHER model, ...the index from that first model is being updated. Any ideas? Can acts_as_ferret handle this? Thanks
2006 Jan 18
1
HABTM - Destroy just the relationship
If I have a HABTM relationship between two models (places, pictures), can I delete the record from the join table without also destroying the objects? IE: 1. @places.pictures << @picture 2. @places.pictures.find( @picture.id ).destroy I''d want line #2 (...or something similar unless I''m way off) to destroy the record in pictures_places only, and not anything from the
2011 Dec 28
2
Gale-Shapley Algorithm for R
...ng complex functions, and the function still very rusty (any kind of suggestions are very welcome). I want to implement Gale-Shapley algorithm for R Language. It is based on http://www.jstor.org/stable/10.2307/2312726 Gale and Shapley (1962) , and it has evolved to http://kuznets.fas.harvard.edu/~aroth/papers/Gale%20and%20Shapley.revised.IJGT.pdf several applications in many languages, C++, JAVA, http://stackoverflow.com/questions/2526042/how-can-i-implement-the-gale-shapley-stable-marriage-algorithm-in-perl Perl , SQL, and so on. I manage to edit one version of it to R.2.13.1. So, I ask if it...
2005 May 12
1
Standardized logistic regression coefficients
Hi everyone, how can I calculate standardized logistic regression coefficients using R? I used "glm" resp. "lrm" from the design-package in order to calculate logistic regression coefficients but I'm wondering if there's a possibility to get standardized logistic regression coefficients? Thanks in advance! Alexander Roth