I am looking for a script that will put the database column names as comments above the model files. I read about this somewhere but I can't seem to find it again. It was a script that ran through the column names of the database tables and modified the model class files with comments that showed the table names. For instance the script put the "column names" comments that I mocked up below. /app/models/client.rb # column names # client_name # description # homepage_url class Project < ActiveRecord::Base belongs_to :Client has_many :project_items end
on 2007-01-21 18:10
on 2007-01-21 18:18
Chris Malek wrote: > up below. > class Project < ActiveRecord::Base > belongs_to :Client > has_many :project_items > end > Try this link: * http://rubyurl.com/ZxK Cheers, Robby -- Robby Russell http://www.robbyonrails.com/ http://www.planetargon.com/
on 2007-01-21 18:21
I knew it was from Dave. My google skills must be lacking today. Thank you very much.