Can Rails work without database?

I’ve gone through some tutorials and found that every example they made
defines a Database. I wander can Rails work without database.

On Sep 8, 4:21 am, Zhao Yi [email protected] wrote:

I’ve gone through some tutorials and found that every example they made
defines a Database. I wander can Rails work without database.

Yes it can. It’s very common for rails apps to use a database but I’ve
written apps that don’t.

Fred

Zhao Yi wrote:

I’ve gone through some tutorials and found that every example they made
defines a Database. I wander can Rails work without database.

Sure it can. Check this out:

On Sep 8, 9:05 am, Jakov M. [email protected]
wrote:

Zhao Yi wrote:

I’ve gone through some tutorials and found that every example they made
defines a Database. I wander can Rails work without database.

Sure it can. Check this out:http://media.pragprog.com/titles/fr_rr/NoDatabase.pdf

It’s actually easier than that now - you just need to say you don’t
want activerecord loaded (in environment.rb) and comment out
initializers (in config/environment.rb) that set settings on
activerecord.

Fred

On 08 Sep 2008, at 10:05, Jakov M. wrote:

I’ve gone through some tutorials and found that every example they
made
defines a Database. I wander can Rails work without database.

Sure it can. Check this out:
http://media.pragprog.com/titles/fr_rr/NoDatabase.pdf

or
http://agilewebdevelopment.com/plugins/activerecord_base_without_table