On Thu, Mar 12, 2009 at 12:36 PM, Tekin Suleyman <[email protected]> wrote:

>
> On 12 Mar 2009, at 17:01, Chad Woolley wrote:
>
>
> On Thu, Mar 12, 2009 at 9:10 AM, Tekin Suleyman <[email protected]> wrote:
>
> This looks good to me, much neater than having separate tables or extra
>
> columns to maintain migrations from plugins.I think it's perfectly
>
> reasonable to expect a user of a plugin to copy the migrations that creates
>
> the models to their db/migrations directory.
>
>
> Unnecessarily copying a file from a plugin seems wrong.  Referencing
> plugin migrations from your app (as Desert does) seems right.
>
> -- Chad
>
>
> One of the reasons I prefer the copy method is that it's much easier to
> examine and manage the migration history of an app if they're all in one
> place.
>

At the risk of bikeshedding, I'd rather not have duplicate, semi-generated
code cluttering up that directory, and likely getting checked in to version
control. It was bad enough with sass...

A compromise might be to use symlinks instead, but that's not portable.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to