Any ideas on whether or not this patch works in PostgreSQL? V/r Anthony
On 10/1/07, Thibaut Barrère <[EMAIL PROTECTED]> wrote: > Hi, > > today rails_sql_views requires explicit view fields declaration, ie: > > create_view(:view_name,"select first_name,last_name from my_table") do > |view| > view.column :first_name > view.column :last_name > end > > I've patched my local adapter_extensions to support fields declarations > implicit to allow this: > > create_view(:view_name,"select first_name,last_name from my_table") > > FWIW, my own need is to ease my work while I'm working around today's lack > of support for subqueries in mysql views. > > Should this be committed to the trunk ? (patch attached, doesn't add support > for create_mapping_view though). > > cheers, > > Thibaut Barrère > -- > LoGeek > [blog] http://www.dotnetguru2.org/tbarrere > _______________________________________________ > Activewarehouse-discuss mailing list > Activewarehouse-discuss@rubyforge.org > http://rubyforge.org/mailman/listinfo/activewarehouse-discuss > > > -- Cell: 321 473-4966 Current Location: Melbourne, FL _______________________________________________ Activewarehouse-discuss mailing list Activewarehouse-discuss@rubyforge.org http://rubyforge.org/mailman/listinfo/activewarehouse-discuss