Rails No-Nos Now
Posted by Daniel Butler Wed, 30 Aug 2006 21:45:00 GMT

Kevin Clark of San Diego has posted an article describing several deprecated features of Rails–thing you should fix now or they’ll break later. Quickly, they are:
- Accessing Instance Variables You Didn’t Create
- Stop using
find_allandfind_first - Don’t write the AJAX-enabled feature before you write the simple fallback feature.
- Stop asking for things not directly related to your problem.
- Don’t use scaffolding.
- Don’t use components.
- Don’t use engines unless you’re going to do it right.
- Use layouts more
- Don’t use Rails Paginator class
- Don’t put controllers into namespaces.
I don’t completely agree with all of Kevin’s findings, but you should at least view the article to be aware of some of the problems that you might encounter using these less than best practices features.

