Hi -- On Mon, 12 Jan 2009, Adam Akhtar wrote: > hi guys, sorry this is actually a railess app. Just ruby and the > console. Ive found a few links though that show how to use active record > without rails though here including setting up migrations and fixutres. > > http://rails.aizatto.com/category/activerecord/activerecord-without-rails/ > > > and there is also this piece here > > http://wiki.rubyonrails.org/rails/pages/HowToUseActiveRecordOutsideRails > > does anyone know of anyother links? > >> From what i can tell those links dont discuss how to implement the > automatic generation of a test version of a development db that rails > does everytime you run a test. If anyone has a link etc id really > appreciate it!. I don't have a link to a complete setup but what I'd recommend is have a look at the Rake tasks that come with Rails, and adapt them. It's non-trivial enough that I can't offer to do it on the spot, but reasonably straightforward and will give you some Rake practice anyway. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management!