Tag gem

1 votes

3274 views

Check if external gem-dependent classes are defined

If you have to set some external gem's config options in /config/enviroment.rb, contain it within `if defined?` block

Comments

by bartosz
bartosz

26 votes

26346 views

Annotate your models

Are you tired of going to schema.rb to find your table structures information? It would be better to list all the attributes of the model in the model itself.

Comments

flyerhzm