similar to: has_many :through does it support collection_singular_ids ?

Displaying 20 results from an estimated 1000 matches similar to: "has_many :through does it support collection_singular_ids ?"

2006 Dec 18
1
Bad merge of r5686 from trunk to 1.2-pre-release?
I do not closely follow the core source commits, but please bare with me. I will keep it short. Recently, changeset#5685 [1] caught my attention as I''ve been waiting for some date_helper love for a VERY long time. What bothered me is that when this changeset was merged into the 1.2- pre-release branch (at changeset#5686 [2]) a change to caching.rb crept in [3], which was not in
2007 Feb 04
2
Beginner Q: Keeping the Ruby on Rails platform up to date.
Hello, I recently installed the ruby on rails framework from this tutorial: http://www.hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger So, I installed: Ruby on Rails 1.1 Ruby 1.8.4 LightTPD 1.4.13 FastCGI 2.4.0 RubyGems 0.9.0 Readline 5.1 PCRE 6.6 FastCGI and MySQL bindings I figured out how to keep my ruby on rails up to date by using the command "gem update rails
2007 Jul 24
9
will_paginate plugin doesn't work with Association Extensions?
I have: class Post < ActiveRecord::Base has_many :comments do def published find( :all, :conditions => {:published => true} ) end end end When in my controller I do Post.find(:first).comments.published.paginate :page => params[:page] I get an error undefined method `paginate'' for []:Array Is will_paginate supposed to
2005 Sep 27
6
Locomotive 0.2.4 for Mac OS X 10.3+
I am pleased to announce the newest release of Locomotive! http://locomotive.sourceforge.net Mostly a bug fix release. If you are using Locomotive on 10.4 you should definitely upgrade. New in 0.2.4 ============ * Rename application entries in status window * Run/Restart/Stop buttons now immediately update * Bundle choosing is fixed for Mac OS X 10.4 * Missing gem dependencies in Rails 0.13.1
2006 Mar 04
10
Help setting up relationships needed
This is a bit of a long question, but to those of you with some experience, it should be fairly simple I think. I have a notes page that should list all notes the user has entered for all books chronologically like this. Book One: This is the note. Book Four: This is the note. Book One: A different note, entered later. Right now my models are: User has_many :books Book has_many
2006 May 05
11
Listing Actions
OK, call me crazy, but am I the first one to want to list out the actions that are available @ runtime? Anyone else come across this yet? Am I crazy? Well, yes, but... -- Posted via http://www.ruby-forum.com/.
2006 Dec 31
2
Presenting a grouped list of objects from STI
Hello, I have been following the STI example in AWDWR and have a question about presenting the output. I want to output a list of Person objects that are grouped by their type. I have an array of all the Person objects and I would like the output to be as follows. Employee x3 <ul> <li>Employee 1</li> <li>Employee 2</li> <li>Employee 3</li> </ul>
2005 Dec 30
2
Locomotive 1.0.0 for Mac OS 10.3+
Hi All, I''m very happy to announce the release of Locomotive 1.0.0. Locomotive is a one-click development solution for Rails on Mac OS X. See more details at http://locomotive.sourceforge.net Get it at: http://prdownloads.sourceforge.net/locomotive/Locomotive_1.0.0.dmg?download What''s New? =========== * Server bundle updated to lighttpd 1.4.8 * Server bundle updated to
2006 Jan 02
5
How can one use GRUFF with locomotive ( I guess there is a wider question here, also)
Hi: I love Locomotive and use it exclusively for my rails projects. I''d like to install GRUFF and give it a try (a graph image creation package). I know I can do sudo gem install gruff from the command line for normal ruby and rails. How do I make gems available to Locomotive? bruce
2006 Jan 24
3
Merging two heavily referenced records into one
Here''s the situation: I have a "people" table whose "id" column serves as a foreign key to several other tables (authorships, editorships, members, users, etc.). Every now and then I will find two distinct records in the "people" table that represent the same human being. They generally differ by small differences in spelling but should really be the
2006 Mar 26
3
Using a Gem in your App without installing to the system
Does anyone know how to use a gem without installing it to the rails installation? For example, I can download the Money gem package from http://dist.leetsoft.com/ but if I don''t have the ability to install a gem at my hosting provider, how can I use the gem in my app? Cheers, Dan
2006 Oct 26
3
help fo finding R package "utils"
Sir I have a problem that from which country i can assess R package "utils" for data entry for loading it in R Please help me in this regard. -- AMINA SHAHZADI Department of Statistics GC University Lahore, Pakistan. Email: amnakhan493@gmail.com amna_989@hotmail.com amna_989@yahoo.com [[alternative HTML version deleted]]
2005 Mar 26
4
RGUI font problem (PR#7749)
Full_Name: Christos Hatzis Version: 2.0.1 patched (2005-02-18) OS: WinXP SP2 Submission from: (NULL) (24.61.19.101) I had encountered a similar problem when changing the font in the R Console and then then open the graphics device by plot(), the console window whites out. this might be related to bug report 7271. I mentioned it sometime back and was told is was not reproducible. Now I have
2004 Sep 16
4
FW: How do I insert a newline in my title in a plot?
yes I have tries, and nothing. It just shows the strings with the slashn, just like i typed it. -----Original Message----- From: Rashid Nassar [mailto:rnassar at duke.edu] Sent: ÐÝì?ôç, 16 Óå?ôåìâñßïõ 2004 15:44 To: Christos Rodopoulos Subject: Re: [R] How do I insert a newline in my title in a plot? Have you not tried what you have already suggested: title("this is a title\nIn 2
2007 Dec 11
5
book on regular expressions
Hello, Could someone recommend a good book on regular expressions with focus on applications/use as it might relate to R. I remember there was a mention of such a reference book recently, but I could not locate that message on the archive. Thanks. -Christos Christos Hatzis, Ph.D. Nuvera Biosciences, Inc. 400 West Cummings Park Suite 5350 Woburn, MA 01801 Tel: 781-938-3830
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I can use in other sessions. Although I could 'Load Workspace" these files, most of the times I prefer attaching them. It would be really convenient to have a menu item under the File menu on the Windows R Console to allow attaching workspaces, e.g. -------------------- Attach Workspace... Load Workspace... Save
2009 Nov 13
4
Installing R on RedHat EL 5
Hi, I am totally new to Linux and trying to install R and related tools. I downloaded the rpm files for el4/x86_64 from the CRAN repository and tried to run rpm but it did not go through complaining about dependencies. Do all the listed rpm files need to be installed? What is the order in which these need to be installed? I appreciate any help with this or any suggestions for alternate ways
2007 Feb 01
3
Lining up x-y datasets based on values of x
Hi, I was wondering if there is a direct approach for lining up 2-column matrices according to the values of the first column. An example and a brute-force approach is given below: x <- cbind(1:10, runif(10)) y <- cbind(5:14, runif(10)) z <- cbind((-4):5, runif(10)) xx <- seq( min(c(x[,1],y[,1],z[,1])), max(c(x[,1],y[,1],z[,1])), 1) w <- cbind(xx, matrix(rep(0, 3*length(xx)),
2008 May 25
9
Segmentation Fault.
Hi there, I am relative new to the wxRuby so please bear with me. I use Ubuntu Hardy Heron 8.04 release. I have installed the wxwidgets C libraries and then did a gem install wxruby The ruby extensions were downloaded and installed correctly. If i do $gem list --local .. wxruby (1.9.7) .. Then I tried to run a simple example "Hello World" as described in the tutorial
2018 Apr 03
5
issue with sieve forwarding after upgrade to 0.5.1
Hello, After I upgrade dovecot 2.2.35 to 2.3.1 and pigeonhole 0.4.23 to 0.5.1 when I use sieve to forward a message to other address using "redirect :copy" I get this: (host server1.myserver.com <http://server1.myserver.com/>[private/dovecot-lmtp] said: 451 4.2.0 <chris at mydomain.com <mailto:chris at mydomain.com>> Execution of Sieve filters was aborted due to