On Apr 23, 2:43 pm, Marnen Laibow-Koser wrote:
> Ar Chron wrote:
> > You can get by "reusing" a class name, but it's a PITA.
>
> > I had a model named Filter, then upgraded Rails at one point, and all
> > sorts of ugly conflicts occurred since the new version of Rails included
> > a Filter clas.
Ar Chron wrote:
> You can get by "reusing" a class name, but it's a PITA.
>
> I had a model named Filter, then upgraded Rails at one point, and all
> sorts of ugly conflicts occurred since the new version of Rails included
> a Filter clas.
>
> One solution is to reference the class to the local
You can get by "reusing" a class name, but it's a PITA.
I had a model named Filter, then upgraded Rails at one point, and all
sorts of ugly conflicts occurred since the new version of Rails included
a Filter clas.
One solution is to reference the class to the local namespace, such as
in the co
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, Dav
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 wrote:
> Is "file" reserved? Can i use it for my model name? Because I am
> getting this error-
>
>
5 matches
Mail list logo