Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

Alert the user when using possibly conflicting words as model names #60

Open iox opened 10 years ago

iox commented 10 years ago

Some common errors come from naming models with words that later create conflicts. It would be nice if we introduced some checks in the generators to help users.

Examples:

haslinger commented 10 years ago

I lately fell into

I was then searching for such a list (in rails context, not hobo specific) and found several:

None of them are authoritative, all of them are outdated, I guess. I think it's a bit of a needle in a haystack task ...

JezC commented 10 years ago

And column name "counter", IIRC. That's also used for something... I ran into this with a Hobo project a couple of years ago. Totally mystified by why I couldn't get the column to show, until I eventually tracked down a mention. I vaguely recall something about counter caches in ActiveRecord.

iox commented 10 years ago

Thanks people, these resources are great :).