BACKTRACE

(condense)

Back to Posts List

GET

Rails Tip: Annotate models plugin

Ever happened to forget what columns does a Model has?
well, instead of Model.column_names, you can easily install the annotate_models plugin which adds the models schema info as a comment at the top of your model.rb file.

install from
<br /> script/plugin install http://repo.pragprog.com/svn/Public/plugins/annotate_models<br />

and from the project root
<br /> rake annotate_models<br />

POST

blog comments powered by Disqus

I Don't have cookies.

ELAD ENV

Variable Value
LINKEDIN
TWITTER
FACEBOOK
GITHUB
WWR
IRC
{ 'irc.freenode.net' => [ '#rubyonrails', '#railsbridge', '#ruby', '#mootools' ]}
SKYPE
eladmeidar

You're seeing this error because I think it is funny.