Revision: 2417
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 12, 2007 14:13 by vanne
Initial Code
#add this inside .irbrc #shortcut for y model.column_names def show(obj) y(obj.send("column_names")) end
Initial URL
Initial Description
Add this inside your .irbrc file to call "show Model" in your console instead of "y Model.column_names"
Initial Title
shortcut method for display table schema
Initial Tags
rails, ruby
Initial Language
Ruby