scaffold.. random error

Did this:

script/generate scaffold file name:string description:text
file_url:string online_status:boolean position:integer

Plus:
rake db:migrate

And the model gives me an error. It can't call any functions like,
Text.all, Text.new etc.
I get:
"undefined method `all' for Text:Module"

I've done this a bunch of times before, no idea what the deal is.

script/generate scaffold file name:string description:text
file_url:string online_status:boolean position:integer

   Change the name from file to some other It is reserved

Sijo