Re:What’s Up With All These Changes in Rails?
by caiusdurling on Wednesday June 15, 2011 @01:24PM
(#2658083)
As of rails 3 (was sort of true in 2 as well) you really don't need a database. I've written two rails 3 apps recently that have no database, they're effectively a thin graphical client for a couple of JSON APIs.
Works well, just don't require ActiveRecord and hey presto, your app doesn't have a database (or db rake tasks, etc).
Re:What’s Up With All These Changes in Rails?
by rapind on Wednesday June 15, 2011 @01:55PM
(#2658251)
It would never occur to me to write something non data-driven using Rails... because to me Rails is rapid development platform for data-driven webapps.
Interesting that people do though. Any particular reason? What features of Rails did you still use? Seems like an odd use case.
If you're planning on using a DB eventually but don't want to deal with migrations etc. for now, then start with a NoSQL DB like MongoDB (you don't even need to describe your fields, it can be completely dynamic). You can always sub in an RDBMS later on if your design calls for it.