search for: collectiontype

Displaying 3 results from an estimated 3 matches for "collectiontype".

2008 Jul 29
0
handling multiple lookup tables in rails
...ookup/:model) where :model would be the name of the lookup table I want to edit. Can anyone point me to either some documentation or provide hints on how to do this sort of thing cleanly? Below is the code I''m playing around with.... thanks in routes I''ve got # lookups/CollectionType/lookups #lookups/Gender/lookups map.resources :lookups, :path_prefix => ''lookups/:mdl'' ex Lookup Controller class LookupsController < ApplicationController # GET /lookup # GET /lookup.xml before_filter :setup_tables def index @lookups = @theModel.find(:all)...
2005 Dec 27
4
PostgreSQL Array field type
It seemed to me that rails extract the special database field type (Array .. In PostgreSQL) as a string.. {'One','Two'} wouldn't it be great if it got converted to a Ruby array directly? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2007 Sep 25
1
'load' does not properly add 'show' methods for classes extending 'list'
...'citation("Biobase")' and for packages 'citation(pkgname)'. Loading required package: AnnotationDbi Loading required package: DBI Loading required package: RSQLite An object of class "GeneSetCollection" [[1]] setName: NA geneIds: X (total: 1) geneIdType: Null collectionType: Null details: use 'details(object)' Actually, the behavior is more complicate than appears; in a new R session after loading /tmp/x.Rda, if I immediately do x[[1]] I get the show,GeneSetCollection-method but not show,GeneSet-method. Sorry for the somewhat obscure example. Martin -- Ma...