Gareth Adams
2006-Sep-15 10:02 UTC
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 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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 itsdEx.com -- 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 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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 templates<http://synthesis.sbecker.net/pages/jedit-snippets-for-ruby-on-rails-docs>that 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 <gustav-PUm+PnBUKx7YkQIYctQFYw@public.gmane.org> wrote:> > > 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 > itsdEx.com > > -- > 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 > > > > >-- Ed Hickey Developer Litmus Media 816-533-0409 ehickey-A4HEbNdjHgMmlAP/+Wk3EA@public.gmane.org A Member of Think Partnership, Inc www.ThinkPartnership.com Amex ticker symbol: THK --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---