Can't name a class Url?


#1

I have a model class I am using, and it is named Url. However, it
appears that somehow Rails seems to think I am subclassing or
something, because when trying to access the scaffold for it, I get:

undefined method `rewrite’ for #<Url:0x2565f34 @attributes={“org”=>nil},
@new_record=true>

The rewrite method is a method for the Rails Url class. Is there
something I am missing with my classes namespace? I know in Java this
is handled with packaging, how can I avoid the obvious namespace
clash?


john david schult
usa : georgia : buford
m: 404.510.5163