Tag Archives: attributes

Undefined Method Foo

Sometimes, you add an attribute to a class, but when you try and access it, it tells you that the method is undefined. What’s going on? In this article, we discuss a bit about how Rails searches for things (database and code). The answer is probably that you forgot the getters and setters for that attribute! Continue reading

Posted in Development | Tagged , , , , | Comments Off