Search the web
Sign In
New User? Sign Up
RubyOnRails · Ruby on Rails
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can I use an ActiveRecord descendant that is not tied to a DB?   Message List  
Reply | Forward Message #30 of 107 |
I want to allow users to enter a set of data that will be represented
by a number of rows in a single table.

Should I use an ActiveRecord descendant that does not actually connect
to a table (overriding all the methods that would complain about that
and creating mutators and accessors for all the virtual fields) ?

Or should I use lots of facade columns in the real table's Active
Record and create more instances inside the overriden Save method ?

Cheers








Thu Jun 29, 2006 3:52 pm

richardchaven
Online Now Online Now
Send Email Send Email

Forward
Message #30 of 107 |
Expand Messages Author Sort by Date

I want to allow users to enter a set of data that will be represented by a number of rows in a single table. Should I use an ActiveRecord descendant that does...
Richard C Haven
richardchaven
Online Now Send Email
Jun 30, 2006
11:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help