Forum: Ruby on Rails Framework

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bruno A. (Guest)
on 2006-03-14 05:40
hello all,

I need any framework that generate models using the database
structure....
Anyone knows if have this framework????


Thank's
Michael G. (Guest)
on 2006-03-14 05:43
(Received via mailing list)
Bruno  - ActiveRecord in Rails does just this: it allows you to build
a model which has all of the attributes of the database table.
Bruno A. (Guest)
on 2006-03-14 13:53
Michael G. wrote:
> Bruno  - ActiveRecord in Rails does just this: it allows you to build
> a model which has all of the attributes of the database table.


I want a framework that create assosiations of ActiveRecord with only
the struct of database...
Thiago A. (Guest)
on 2006-03-14 14:15
(Received via mailing list)
On 3/14/06, Bruno A. <removed_email_address@domain.invalid> wrote:
> I want a framework that create assosiations of ActiveRecord with only
> the struct of database...

What do you mean by "only the struct of database". Can you provide an
example or common use case for this framework?

It seems like what you want is good old ActiveRecord.

Cheers,

Thiago A.
Michael G. (Guest)
on 2006-03-14 14:18
(Received via mailing list)
I think what Bruno wants is a method to automatically build to
associations based on relationships in the database.

As far as I know, this isn't possible.
Bruno A. (Guest)
on 2006-03-14 14:25
Michael G. wrote:
> I think what Bruno wants is a method to automatically build to
> associations based on relationships in the database.
>
> As far as I know, this isn't possible.

Yes Michael i need this.......I have any ideas to create this but before
i needed knows if this frameworks exist...
Thiago A. (Guest)
on 2006-03-14 19:14
(Received via mailing list)
Bruno,

On 3/14/06, Bruno A. <removed_email_address@domain.invalid> wrote:
> Michael G. wrote:
> > I think what Bruno wants is a method to automatically build to
> > associations based on relationships in the database.
>
> Yes Michael i need this.......I have any ideas to create this but before
> i needed knows if this frameworks exist...

Hmm... I think I now get what you want to do. I actually have worked
on a project to do almost that, generating code to map relational
database/table relationships to object oriented/class relationships. I
am sorry to say that at least this part of the project didn't turn out
very well.

Anyway, I am interested in watching your efforts (and even
contributing, shall my free time increase). Do you ultimately plan to
build this framework on an open-source fashion (in case you don't find
what you want)? Please let me know of any progress.

Thanks,

Thiago A.
This topic is locked and can not be replied to.