What's the default table name for a model nested in a module

Say I have a model

class Woodwork::Table < ActiveRecord::Base
end

Where will AR look for this in the database by default?

Gareth

Hey all!

I jumped on RadRails yesterday and i love it!
I exported some of the code templates and saw they were xml

So i spent a section of this morning hacking together a simple little
app that
lets you roll your own templates and exports them to xml,
which you can then import into RadRails

Dunno if this is useful to anyone else, but i thought i’d inform the
community!

You can check it out at
http://radrails.rails.co.za

I haven’t tested it thoroughly, so if there are weird things happening,
i’d appreciate it if you tell me about them so i can fix them!

Feel free to mail me!
gustav [at] rails [dot] co [dot] za

Cheery-O!
Gustav


about me:
My greatest achievement was when all the other
kids just learnt to count from 1 to 10,
i was counting (0…9)

  • gustav.paul

Nice work, Gustav! Handy tool. Now, what would be a great addition is
some
sort of archive of all the user-created templates. There are tons of
possiblities out there, it’d be nice to have a repository. That’s one
the
reasons I still dip into jEdit: someone created over 100 Rails
templateshttp://synthesis.sbecker.net/pages/jedit-snippets-for-ruby-on-rails-docsthat
makes editing super-quick. I’ve tried converting the jEdit ones to
Eclipse’s format, but they are some sort of encoded Java format…no
luck.

Anyways, nice job.

ed

On 9/15/06, Gustav - Railist [email protected] wrote:

which you can then import into RadRails
Feel free to mail me!
i was counting (0…9)

  • gustav.paul


Ed Hickey
Developer
Litmus Media
816-533-0409
[email protected]
A Member of Think Partnership, Inc
www.ThinkPartnership.com
Amex ticker symbol: THK