Why do you want to rename it in the first place? Name convention is
there for a reason - I think
you''re on a slippery slope there.
You can rename your class, obviously.
On Apr 7, 1:11 pm, Renuka
<renuka.pati...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Model for MongoDb looks like follows
>
> class User
> include MongoMapper::Document
> key :name, String
> end
>
> Name of the table in MonoDb is users.
>
> How to override naming convention for MongoMapper::Document ?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.