-
Notifications
You must be signed in to change notification settings - Fork 2
Rails plugin that checks your models for attributes with names that are reserved words (that will cause weird errors)
lucashungaro/reserved_attributes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= Reserved Attributes Checks all your models looking for attributes (columns) with names that are Ruby/Rails reserved words. The list of reserved words is retrieved from http://newwiki.rubyonrails.org/rails/pages/reservedwords and also in a dynamic way (calling Object.methods). This task won't prevent all errors, but it'll cover most of them. = Use: rake check_reserved_attributes = Author: Lucas Húngaro (http://lucashungaro.github.com/) Code based on Dave Thomas' annotate_models = Released under the same license as Ruby. No Support. No Warranty.
About
Rails plugin that checks your models for attributes with names that are reserved words (that will cause weird errors)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published