DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Script/console Reload Models

10.11.2005
| 4508 views |
  • submit to reddit
        
$ ./script.console
Loading development environment...
>> [do stuff / modify models]
>> Dispatcher.reset_application!

Picked this up from...

http://habtm.com/articles/2005/10/04/script-console-reload-models

... which would have been fine but the site is completely unusable, opting for cool drag-and-drop over the ability to copy and paste. Bad.    

Comments

Snippets Manager replied on Mon, 2012/05/07 - 2:15pm

Right on. I didn't notice that. It drove me crazy...

Snippets Manager replied on Mon, 2012/05/07 - 2:15pm

rtomayko: press the "untumble" link at the top-right of the page - it sorts itself out straight away ... court3nay: hehe drew

Snippets Manager replied on Mon, 2012/05/07 - 2:15pm

gosh darn it, i missed the credit for this one ;)

Snippets Manager replied on Mon, 2012/05/07 - 2:15pm

it's a literal tumblelog as a joke. there is an 'untumble' link, but i just read it from the rss...