Place for special scripts in the framework?

Unless I’m reading it wrong or misunderstanding the question, the README file created by "rails ", recommends the lib directory.