> I really hate how the schema is separate from my models. I kind of like > how Django defines the table attributes in the model. I was think about > trying something like that in Rails. > > You could define the attributes in the model and run a special generator > that creates a migration from the schema.It''d be interesting to talk with some Django developers - from both small and large projects - to see what works well for them. Does anyone know some Django users we can interrogate? Cheers Nic -- Posted via http://www.ruby-forum.com/.
Josh Peek wrote:> I side with David when it comes to databases. They suck! Just my own > opinion.Huh?!? Much better than using text files... Joe -- Posted via http://www.ruby-forum.com/.
Joe Ruby wrote:> Josh Peek wrote: >> I side with David when it comes to databases. They suck! Just my own >> opinion. > > Huh?!? Much better than using text files...And they scale a lot better than large XML files :) Paper tape could be an option... -- Posted via http://www.ruby-forum.com/.
I side with David when it comes to databases. They suck! Just my own opinion. So what about the people who don''t want to define validations and stuff in the database, but still want to be DRY. I really hate how the schema is separate from my models. I kind of like how Django defines the table attributes in the model. I was think about trying something like that in Rails. You could define the attributes in the model and run a special generator that creates a migration from the schema. Any ideas? I''m just brian storming right now. -- Posted via http://www.ruby-forum.com/.
Michael Siebert
2006-Aug-09 12:46 UTC
Re: [Rails] Re: Nic’s Magic Models, how about Magic Schema
that''d be great against unemployment! pay people for writing your data to paper, search records etc... the human database... sounds like magic to me 2006/8/8, Dr Nic <drnicwilliams@gmail.com>:> > Joe Ruby wrote: > > Josh Peek wrote: > >> I side with David when it comes to databases. They suck! Just my own > >> opinion. > > > > Huh?!? Much better than using text files... > > And they scale a lot better than large XML files :) > > Paper tape could be an option... > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060809/7c927f95/attachment.html