From: Tuka Opaleye Date: 2006-04-27T21:31:28+09:00 Subject: "Unrequire" a file ? Hi, after making changes to a particular file, I would either like to overwrite the already included one or 'unrequire' the existing one. Is this possible ? My tests below indicate it is not... TIA, Tuka C:\Ruby\hotelreg>ruby script/console Loading development environment. >> require 'db/migrate/001_tb_hotel.rb' => true >> TbHotel.down == TbHotel: reverting ========================================================= -- drop_table(:hotels) -> 0.2900s == TbHotel: reverted (0.3000s) ================================================ => nil >> TbHotel.up == TbHotel: migrating ========================================================= -- create_table(:hotels) -> 0.1000s == TbHotel: migrated (0.1000s) ================================================ => nil >> require 'db/migrate/001_tb_hotel.rb' => false >> -- Posted via http://www.ruby-forum.com/.