MVC Frameworks and dynamic languages
I defined a method on my model that has the same name as one of the field of the model, because I used a dynamic language (ruby on rails) it was pretty hard to understand this issue (took me more than 1 hour).
So a little tip:
When thinking about names of actions and fields of your model, work with conventions and guidelines like:
Don't name your fields after action names!!!
that's it.
Comments