[Rails] Re: ActiveRecord changes Logger formatting
Does anyone have any ideas here??? I no longer have useful Logger messages. That's very frustrating. R On May 24, 7:18 am, RobR wrote: > Why does my Logger formatting change after I "require > 'active_record'"? > > irb(main):001:0> require 'logger' > => true > irb(main):002:0> $logger = Logger::new STDOUT > => # @default_formatter=# @datetime_format=nil>, @level=0, @progname=nil, > @logdev=# @mutex=# @mon_waiting_queue=[], @mon_entering_queue=[], @mon_count=0, > @mon_owner=nil>, @dev=#, @shift_size=nil>> > irb(main):003:0> > irb(main):004:0* $logger.info{ "Expected log line style" } > I, [2009-05-24T06:58:44.599720 #22050] INFO -- : Expected log line > style > => true > irb(main):005:0> > irb(main):006:0* require 'active_record' > => true > irb(main):007:0> $logger.info{ "Why did AR change my log line > style?" } > Why did AR change my log line style? > => true > irb(main):008:0> > > Furthermore, how does one specify a user defined Logger format style? > I need to provide my Log lines in a format consistent with our other > applications. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] ActiveRecord changes Logger formatting
Why does my Logger formatting change after I "require 'active_record'"? irb(main):001:0> require 'logger' => true irb(main):002:0> $logger = Logger::new STDOUT => #, @level=0, @progname=nil, @logdev=#, @dev=#, @shift_size=nil>> irb(main):003:0> irb(main):004:0* $logger.info{ "Expected log line style" } I, [2009-05-24T06:58:44.599720 #22050] INFO -- : Expected log line style => true irb(main):005:0> irb(main):006:0* require 'active_record' => true irb(main):007:0> $logger.info{ "Why did AR change my log line style?" } Why did AR change my log line style? => true irb(main):008:0> Furthermore, how does one specify a user defined Logger format style? I need to provide my Log lines in a format consistent with our other applications. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Trying to use AR with Oracle Instant Client: ruby-oci8 fails to load
I am trying to establish a connection to oracle through ruby-oci8 with the intent on using ActiveRecord. I have Oracle instant-client installed in the usual system location. I have these gems installed in my user space: activerecord (2.3.2) activerecord-oracle_enhanced-adapter (1.2.0) activesupport (2.3.2) dbi (0.4.1) deprecated (2.0.1) fastercsv (1.4.0) gnuplot (2.2) rake (0.8.4) ruby-oci8 (2.0.1) When I try to require 'ruby-oci8', I see this odd error: irb(main):001:0> require 'oci8' LoadError: /usr/lib/oracle/10.2.0.4/client64/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied - /home/iono/ packages/gems/gems/ruby-oci8-2.0.1/lib/oci8lib_18.so from /home/iono/packages/gems/gems/ruby-oci8-2.0.1/lib/ oci8lib_18.so from /home/iono/lib/ruby/rubygems/custom_require.rb:31:in `require' from /home/iono/packages/gems/gems/ruby-oci8-2.0.1/lib/oci8.rb: 25 from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `gem_original_require' from /home/iono/lib/ruby/rubygems/custom_require.rb:36:in `require' from (irb):1 Any ideas? --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Read remote zip
Those are good points. For now, I whipped up something simple which basically: begin `wget #{url}` `unzip #{localfilename}` # do stuff with file (FasterCSV) rescue ensure # delete local files end I don't like relying on `` but sometimes it's just too easy to pass up. My original message was trying to avoid `wget url` Thanks! On Apr 7, 9:53 pm, Phlip wrote: > RobRwrote: > > I'd like to decompress the contents of: > >http://host.com/file.zip > > > in memory without having to download the file (e.g. `wget`) first. > > Suggestions? > > "Without having to download the file first" is an example of "premature > optimization". It is the root of all evil. > > On any OS configured to be a server (as opposed to a wrist watch, for example) > all memory and files map each other virtually. If you Net::HTTP read() that > file > to a file location, the OS will generally reserve a slot on the hard drive, > then > put the file into its matching memory location. > > In the next split microsecond, your code reads that file and unzips it, using > only the memory image. If you then delete the file, it may never reach the > hard > drive. > > By that analysis, if you write simple code that downloads the file and hits it > with common tools, you can finish your feature faster. However, there are also > situations where you _don't_ know which option is faster. > > Write the simpler code anyway, and then profile it to identify the real > bottlenecks. They are invariably _not_ the places you would have guessed. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Read remote zip
I'd like to decompress the contents of: http://host.com/file.zip in memory without having to download the file (e.g. `wget`) first. Suggestions? Rob --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] What version of a gem loaded?
Is there an easy way to tell what version of a gem was loaded? For example, ActiveRecord? R --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Rails or separate packages, RedHat
I tried that and this is what happened. The system Ruby is 1.8.7. [~/] gem install rails ERROR: While executing gem ... (Errno::EACCES) Permission denied - /var/lib/gems/1.8/cache/rake-0.8.4.gem On Apr 7, 5:40 pm, Freddy Andersen wrote: > If you install the gems as a non root user it will be installed in > ~/.gems > > gem install rails > > will install it in ~/.gems > > On Apr 7, 3:44 pm,RobR wrote: > > > > > Good point. Ok, a dumb question. > > > I found I can run "gem install -i install_dir -d bin_dir" > > > Where do people usually install such things in their user spaces? > > /home/user/var/lib/gems > > > What about the "-d bin_dir"? What kind of things go in there? .so > > libraries like mysql.so? What default location do those usually end > > up in? Where is a usual place to put them in my home space? > > > What environment variables do I need to work with to make my installed > > gems are used instead of older system installed gems? > > > Regards, > > > Rob > > > On Apr 6, 2:07 am, Roderick van Domburg > > s.net> wrote: > > > Rob Redmon wrote: > > > > So, do I ask the IT department to install Ruby on Rails or continue > > > > asking for particular packages? I'd rather just get the whole thing. > > > > If so, will an install of "rails" override or interfere with already > > > > installed rails libraries? They will only install RedHat 5 managed > > > > packages without a huge fight. Other packages, I have to compile and > > > > install in my own user space (/home). > > > > RHEL doesn't carry a lot of gems, and certainly not recent versions. > > > Installing them yourself is the way to go. > > > > -- > > > Roderick van Domburghttp://www.railscluster.nl > > > -- > > > Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Rails or separate packages, RedHat
Good point. Ok, a dumb question. I found I can run "gem install -i install_dir -d bin_dir" Where do people usually install such things in their user spaces? /home/user/var/lib/gems What about the "-d bin_dir"? What kind of things go in there? .so libraries like mysql.so? What default location do those usually end up in? Where is a usual place to put them in my home space? What environment variables do I need to work with to make my installed gems are used instead of older system installed gems? Regards, Rob On Apr 6, 2:07 am, Roderick van Domburg wrote: > Rob Redmon wrote: > > So, do I ask the IT department to install Ruby on Rails or continue > > asking for particular packages? I'd rather just get the whole thing. > > If so, will an install of "rails" override or interfere with already > > installed rails libraries? They will only install RedHat 5 managed > > packages without a huge fight. Other packages, I have to compile and > > install in my own user space (/home). > > RHEL doesn't carry a lot of gems, and certainly not recent versions. > Installing them yourself is the way to go. > > -- > Roderick van Domburghttp://www.railscluster.nl > -- > Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Which Oracle connector for AR?
Awesome, thanks! On Apr 6, 8:50 am, Greg Donald wrote: > On Sun, Apr 5, 2009 at 5:44 PM, RobR wrote: > > > What DB connector do I need to talk to a network accessible Oracle > > server: 1) with ActiveRecord?, 2) to perform basic SQL. I'm more > > familiar with what it takes to get MySQL working with AR. Currently I > > have AR 2.1.1, Ruby 1.8.5. I'll have to ask what Oracle client/server > > is available. > > # gem list --local |grep oracle > activerecord-oracle_enhanced-adapter (1.2.0) > > -- > Greg Donaldhttp://destiney.com/ --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Which Oracle connector for AR?
What DB connector do I need to talk to a network accessible Oracle server: 1) with ActiveRecord?, 2) to perform basic SQL. I'm more familiar with what it takes to get MySQL working with AR. Currently I have AR 2.1.1, Ruby 1.8.5. I'll have to ask what Oracle client/server is available. This question pertains to a RedHat 5 system which is not managed by me and is only allowed RedHat managed packages, unless I install them in my user space (/home). Rob --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Rails or separate packages, RedHat
So, as I introduced myself to ActiveRecord, I asked our IT department to install activerecord and this hierarchy popped up on the system: /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.1/ then I was able to do this irb(main):003:0> require 'rubygems' => true irb(main):004:0> require 'activerecord' => true Now I realize FasterCSV, and perhaps migrations would be handy. I'm not building a web application at the moment, rather I'm building a command line api to our DB using ActiveRecord for ORM. However perhaps one day in the future I'll be allowed a rails developed web site So, do I ask the IT department to install Ruby on Rails or continue asking for particular packages? I'd rather just get the whole thing. If so, will an install of "rails" override or interfere with already installed rails libraries? They will only install RedHat 5 managed packages without a huge fight. Other packages, I have to compile and install in my own user space (/home). This is on a RedHat RHEL 5 system (uname = 2.6.18-128.1.1.el5). Cheers and thanks! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Help with AR design on a large (~100'sM) partition table
set. `updated_on` datetime NOT NULL, -- ActiveRecord auto updated. `note` TEXT default NULL,-- User note -- TODO: reorder the key constituents to reflect best sub selection capability -- Rows are unique by this PRIMARY KEY `key_destination_is_public_obs_time_file_md5` ( `destination`, `is_public`, `obs_time`, `file`, `md5` ), -- TODO: Is there any value in reordering these keys? Does order matter? KEY `key_obs_time` ( `obs_time` ), KEY `key_id`( `id` ), KEY `key_ursi` ( `ursi` ), KEY `key_extension` ( `extension` ), KEY `key_size` ( `size` ), KEY `key_updated_on`( `updated_on` ) ) ENGINE=InnoDB PARTITION BY RANGE ( TO_DAYS( obs_time ) ) ( PARTITION p195001 VALUES LESS THAN (TO_DAYS ( "1950-01-01" )),PARTITION p195002 VALUES LESS THAN (TO_DAYS ( "1950-02-01" )),PARTITION p195003 VALUES LESS THAN (TO_DAYS ( "1950-03-01" )),PARTITION p195004 VALUES LESS THAN (TO_DAYS ( "1950-04-01" )),PARTITION p195005 VALUES LESS THAN (TO_DAYS ( "1950-05-01" )),PARTITION p195006 VALUES LESS THAN (TO_DAYS ( "1950-06-01" )),PARTITION p195007 VALUES LESS THAN (TO_DAYS ( "1950-07-01" )),PARTITION p195008 VALUES LESS THAN (TO_DAYS ( "1950-08-01" )),PARTITION p195009 VALUES LESS THAN (TO_DAYS ( "1950-09-01" )),PARTITION p195010 VALUES LESS THAN (TO_DAYS ( "1950-10-01" )),PARTITION p195011 VALUES LESS THAN (TO_DAYS ( "1950-11-01" )),PARTITION p195012 VALUES LESS THAN (TO_DAYS ( "1950-12-01" )), ... -- up to year 2020 PARTITION p99 VALUES LESS THAN MAXVALUE ); On Mar 24, 3:43 pm, Jeremy Kemper wrote: > On Tue, Mar 24, 2009 at 7:32 AM, RobR wrote: > > First, I'm a physicist, not a computer scientist. I need to store 65M > > rows now, with a growth rate of ~21M/year whose entries arrive daily. > > MySQL can deal with this out-of-the-box without breaking a sweat. I > wouldn't worry about partitioning until you actually hit a wall. I > think Moore's law is on your team for this project. > > (Note: you probably don't want indexes on every single column > individually. Add compound indexes tuned to your actual queries.) > > Best, > jeremy --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Help with AR design on a large (~100'sM) partition table
Thank you. That's a handy suggestion. On Mar 24, 10:29 am, Ar Chron wrote: > Interesting issue: your record count is several orders of magnitude > larger than I have to deal with. > > A quick google brought up this page: > > http://blog.new-bamboo.co.uk/2007/11/20/database-optimization-for-rai... > > which might have some points for you to consider. > -- > Posted viahttp://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Help with AR design on a large (~100'sM) partition table
First, I'm a physicist, not a computer scientist. I need to store 65M rows now, with a growth rate of ~21M/year whose entries arrive daily. The purpose of this DB is to store metadata for environmental observations for the ionosphere. Basically it's a glorified file catalogue. I need the usual: fast enough inserts, reasonable recovery, REST like access, etc. I have access to Ruby AR/AS 2.1.1, Ruby 1.8.5 and eventually MySQL 5.1.x. I'm trying to trade some storage space and lack of normalization for simplicity of design and ease of maintenance by me. Basically, I want to partition one very large table. My PK is essentially across 3 columns: filename, md5 checksum, destination. I'd like to partition by year which is discernible by the filename and by obs_time if I can but obs_time is not currently part of the PK. If that happens, then I would have up to 40M rows in a single table though most tables would have a few million; perhaps that is too many; perhaps a table for each half year would work. Currently, I have no foreign keys but I may want them one day. Any help and suggestions would be really appreciated! My schema follows. I have created a simple model off this table and I'm using these decorators: validation, and before_save and after_save to build an inventory summary (in another table not shown). I've tried this on a non-partitioned table so far awaiting the installation of MySQL 5.1.x by our IT department. How do I go about integrating AR with a partitioned table? Can you advise a simple pattern I might follow for such a large but simple relationship? create table `ionofiles` ( -- TODO optimize variable sizes `id` int(15) NOT NULL auto_increment PRIMARY KEY, `file` varchar(100) NOT NULL,-- Any valid filename without the ".~N~" backup extensions. `md5`varchar(100) NOT NULL,-- MD5 Sum `destination`varchar(20) NOT NULL,-- E.g. MIDS, ADIC, AFWA, SWPC, ... `version`varchar(20) default NULL,-- Optional version. `ursi` char(5) default NULL, -- E.g. BC840, WI937. default NULL because we allow any filename. `time_scope` varchar(20) default NULL, -- E.g. (individual, daily, monthly, yearly, etc). default NULL -- because we allow non time-scoped files. `content_type` varchar(20) default NULL,-- E.g. (root, scaled, image, ionogram) `obs_time1` datetime default NULL,-- Start of measurement. Default NULL because we allow -- non data files. `obs_time2` datetime default NULL,-- End of measurement, in the case file represents -- multiple measurements. Default NULL because we allow -- non data files. `extension` varchar(5) default NULL,-- file extension (any case). E.g. SAO, MMM, 16C, TXT, png. `size` int(11) NOT NULL,-- file size in bytes `backup` int(2) default NULL,-- N of the "~N~" tilda backup file. `is_ready` boolean NOT NULL default 0, -- Is this file's links ready? 0 = No, 1 = Yes. `is_public` boolean NOT NULL default 1, -- Is this file publicly available? 0 = Public, 1 = Private. `is_removed` boolean NOT NULL default 0, -- Has this file been marked deleted?, -- s.t. we don't ever want to see it again? -- This is useful in the event that we want to reject future submissions of file. `file_on_disk` varchar(100) NOT NULL, -- Actual file name on disk: E.g. BC840_200900100.SAO.~10~ `path` varchar(200) NOT NULL, -- A directory or a full path to a ZIP or TAR or other aggregate file. -- E.g. data/BC840/individual/2009/001/scaled/ -- E.g. data/BC840/individual/2009/BC840_2009001_2009-01-01.tar.gz `last_verified` datetime default NULL, -- last time we checked that this file actually exists at stated destination -- TODO: ActiveRecord fields. What should be the data type? Timestamp or Datetime? -- The auto set and update features are currently handled by AR. -- Should we put some ON UPDATE, etc actions here for non AR interaction? `created_on` datetime NOT NULL, -- ActiveRecord auto set. `updated_on` datetime NOT NULL, -- ActiveRecord auto updated. `note` TEXT default NULL,-- User note UNIQUE KEY `key_file_md5_destination_public` ( `file`, `md5`, `destination`, `is_public` ), KEY `key_file` ( `file` ), KEY `key_md5` ( `md5` ), KEY `key_destination` ( `destination` ), KEY `key_version`
[Rails] Re: Compatible Packages
Thanks Fred! My enormous single table DB crashed this morning and I imagine that "repair table ..." is never going to finish. It's time to get this redesign rolling. Can you point me towards any simple schema but rather large in rows solutions with MySQL/Partition Tables/AR-AS? I need to store 65M rows now with a growth rate of ~20M/year. The new additions are received rather uniformly over the year. I'm going to post a larger more informative version of my new questions in a minute for others to see and perhaps make suggestions. Thank you! Rob On Mar 2, 3:55 pm, Frederick Cheung wrote: > On Mar 2, 6:46 pm, RobR wrote: > > > I'm interested in using ActiveRecord (AR) to build an API to a > > glorified file catalogue with ~35 million and counting entries. It's > > really an MD5sum catalogue with extra information granules about each > > file to support web services like interaction. Firstly, I'm not a > > computer scientist; just a hacking physicist with a little OOP > > experience. In addition to AR for ORM, I'm planning to use MySQL > > partition tables of type InnoDB. > > > In a private email, David H. said this combination looks compatible: > > Ruby 1.8.6 or 1.8.7, AR and AS 2.2.2, MySQL 2.7 and MySQL Server > > 5.1.x. I'm trying not to bother David directly, for this related > > question. > > > The problem is that our admins will not install Ruby 1.8.6 or AR/AS > > 2.2.2, instead I'm allowed to have these versions "managed" by the > > RedHat package manager: Ruby 1.8.5, AR/AS 2.1.1. > > > I plan to take advantage of simple implementations of these built in > > technologies: transactions, callback macros, validation, association, > > aggregation, etc > > All of these have been in Rails for ages, rails 2.2 was only out in > december and clearly people were coping before then :-) > > Fred > > > Are there any obvious problems with my setup? > > > Thanks! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Compatible Packages
I'm interested in using ActiveRecord (AR) to build an API to a glorified file catalogue with ~35 million and counting entries. It's really an MD5sum catalogue with extra information granules about each file to support web services like interaction. Firstly, I'm not a computer scientist; just a hacking physicist with a little OOP experience. In addition to AR for ORM, I'm planning to use MySQL partition tables of type InnoDB. In a private email, David H. said this combination looks compatible: Ruby 1.8.6 or 1.8.7, AR and AS 2.2.2, MySQL 2.7 and MySQL Server 5.1.x. I'm trying not to bother David directly, for this related question. The problem is that our admins will not install Ruby 1.8.6 or AR/AS 2.2.2, instead I'm allowed to have these versions "managed" by the RedHat package manager: Ruby 1.8.5, AR/AS 2.1.1. I plan to take advantage of simple implementations of these built in technologies: transactions, callback macros, validation, association, aggregation, etc Are there any obvious problems with my setup? Thanks! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---