Thanks for sharing that URL. Yeah, I've ran into a couple myself. Yeah, File is definitely a Ruby class name, which is inherited from the IO class. I tried making a model called both Application and Type in the same app actually. Let's just say it didn't go too well... ;)
On Apr 22, 7:47 pm, David Zhu <[email protected]> wrote: > uGH! im answering my own questions!. sorry guys ill think b4 i post > next time. > > here are the reserved > words-http://newwiki.rubyonrails.org/rails/pages/reservedwords > > On Apr 22, 8:44 pm, David Zhu <[email protected]> wrote: > > > Is "file" reserved? Can i use it for my model name? Because I am > > getting this error- > > > NoMethodError in FilesController#new > > > undefined method `quoted_table_name' for File:Class > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

