|
Re: ActiveRecord: private versus protected methods: msg#00238lang.ruby.rails.core
On Wed, Sep 27, 2006 at 07:48:29PM -0700, urbanus wrote: > Rails migrations almost do what I need; except that you can't put > different sorts of migrations into the one Rails database (AFAIK). A couple of guys at a client of mine implemented this, and it involved opening up one method to the outside world to specify the name of the schema_info table (we used schema_info_<name> for the different parts). It was quite small and simple. They didn't subclass, but as Koz mentioned private methods don't necessarily preclude subclassing. The other stuff you're talking about (schema chunk dependencies) would be trickier, but I'd be inclined to leave that to application-level dependencies (surely you're going to need code to go along with those schemas, so tying it all up into a single version number thing would be pretty clean). - Matt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-core@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [Newbie] Trying to use Inflections in a non active record class, Jeremy Kemper |
|---|---|
| Next by Date: | Re: ActiveRecord: private versus protected methods, Mislav Marohnić |
| Previous by Thread: | Re: ActiveRecord: private versus protected methods, urbanus |
| Next by Thread: | Re: ActiveRecord: private versus protected methods, Mislav Marohnić |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |