Thanks Mauricio,

If I write the module, do I just put it in the folder where all the
modules are?

On Sep 10, 10:33 pm, "Maurício Linhares" <[EMAIL PROTECTED]>
wrote:
> Ideally, you should write a plugin, more on that here 
> ->https://peepcode.com/products/rails-2-plugin-patterns
>
> But you could also just create a simple module and make your models include 
> it.
>
> On Wed, Sep 10, 2008 at 11:32 PM, pepe <[EMAIL PROTECTED]> wrote:
>
> > Hello.
>
> > I have some code that I want to share between my models (i.e.: text
> > formatting routines). Where would be the correct place to put it?
>
> > Thanks in advance.
>
> > Pepe
>
> --
> Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) 
> |http://blog.codevader.com/(en)
> João Pessoa, PB, +55 83 8867-7208
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to