We have also done some work extending the rails postgresql adapter for a legacy database. Specifically, to support postgresql DDL commands in ruby code. Currently it supports dumping and creating database functions, database trigger functions, user defined database types, and creating (not dumping by default) database views.
We created it as a monkey patch plugin for the rails schema_dumper and postgresql_adapter and it has worked nicely for us from Rails 1.2.6 to Rails 2.1. The rubyforge site is http://rubyforge.org/projects/railspgprocs/. On Aug 21, 7:23 am, Adam Šindelář <[EMAIL PROTECTED]> wrote: > Hi. > > Our company is currently working on a large government contract to > develop an elearning system using Ruby on Rails. To support our needs, > we have added numerous useful features to ActiveRecord over the past > year or so; they include things such as proper support for PostgreSQL > schemas, saving binary data in PostgreSQL (currently broken as of > Rails 2.1), SQL reflection for stored procedures, calling stored > procedures using ActiveRecord, support for serializing (to_xml or > to_json) objects of multiple classes into the same array... Now, my > employer is seriously considering allocating person-hours for us to > work with the Rails core team to get our patches included in trunk. > > We believe our changes to be quite useful, and consider it only fair > that we should give back to the community around this great project. > The question is, whether you would be interested in helping us with > this process, and including this functionality. > > Thanks, I'll look forward to your replies, > Adam --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---