cat ~/.irbrc | blog
require 'rubygems'
require 'wirble'
require 'irb/completion'
Wirble.init
Wirble.colorize
IRB.conf[:AUTO_INDENT]=true
def su user = User.root
ActiveRecord::Base.without_audit do
ActiveRecord::Base.with_authorization user do
irb
end
end
end
About this entry
You’re currently reading “cat ~/.irbrc | blog,” an entry on e-huned.com
- Published:
- 03.07.08 / 10am
- Category:
- personal
No comments
Jump to comment form | comments rss [?] | trackback uri [?]