Is it possible to define a model that is not backed by a database table and still relate other models to it? Will relations between instances of these models persist? For instance, say I have a Cat model that does not inherit from ActiveRecord and an Owner model that does. Can I assign a particular cat to an owner? The next time I load the app will that pair be remembered?
on 2009-02-28 03:28
on 2009-02-28 03:37
No. Unless you roll your own solution or persist the cat at the database in a way or another. - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)