search for: dbmodel

Displaying 3 results from an estimated 3 matches for "dbmodel".

Did you mean: abmodel
2006 Jun 14
5
Rails to static site
For users without an internet connection we are thinking about converting a rather large site to a DVD. As dynamic solutions with databases seem hard (see another thread) we are also considering a static html version. The site is clearly convertible to a static version, I can make sure that all search functions are turned off. Can the conversion itself optimized with Rails? Do you know solutions
2006 Mar 23
3
when (not) to use belongs_to
.../ForumExample) doesn''t always do this. A Message has_one author but there''s no ''belongs_to :message'' in the Author class. There are examples of when the author uses it, and examples of when he doesn''t. Another thing that confused me was the fact that the DBModel page on the wiki says "Note that you''ll never need to label a link belongs_to ? relationships are defined from the source table viewpoint, so the belongs_tois implicit in the relationship." I wasn''t sure if that''s just referring to use of this particular gem (wh...
2006 Jan 10
2
DBDesigner4 to AR model (script)
Hi list, I have hacked together a small script to generate an ActiveRecord model from a DBDesigner 4 (fabForce.net) model file. Take it apart and feed it to the pigs ;). the article: http://tua.ch/ruby/current.html and the script: http://tua.ch/ruby/dbmodel/compute_model.rb best of whishes for the new year, kaspar code manufacture & ruby lab at http://www.tua.ch/ruby