This is my Blog.

It's full of opinions on a wide range of stuff.

How to use rails 2.0.2 without a database

Step 1

Run the rake task to freeze rails 2.0.2 into the project so your not reading from gems:

<code>rake rails:freeze:gems</code>

Step 2

Remove the database.yml file from RAILS_ROOT/config/

Step 3

Change line 21 in RAILS_ROOT/config/enviroment.rb to:

<code>config.frameworks -= [ :active_record ]</code>

Bobs your uncle, that should be it!

blog comments powered by Disqus