If you are using rails 3, see this
http://railscasts.com/episodes/219-active-model

On Wed, Oct 27, 2010 at 4:06 PM, Satsou Sa <[email protected]> wrote:

> Hello,
>
> I would like to create a simple ActiveRecord model, but working without
> table... Is that possible? I think we can this a virtual model.
>
> And I would like to be able to use relations (like has_many :users, etc)
> with this model (named App for instance), such as:
>
>  > App.first.users
>
> Thanks for any ideas.
>
> --
> Posted via http://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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to