Reloading your Ruby on Rails console





8
Date Submitted Wed. Oct. 11th, 2006 5:28 PM
Revision 1 of 1
Helper jeremec
Tags console | rails | reload | Ruby
Comments 1 comments
When doing a lot of testing in script/console, you often have to reload to pickup changes in DB schema, models and libs. The process of quitting the console and restarting it can become incredibly tedious amidst bugtracking.

note: I don't believe this reloads items in the libs dir

script/console
Loading development environment.
>>  reload!
Reloading...
=> [ApplicationController, SupportCall]
>>
 

Jereme Claussen

Comments

Comments Single File
Wed. Oct. 18th, 2006 4:00 PM    Beginner lagsalot

Voting