Rails SQL Views 0.5.0 is now available from http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as a Gem (gem install rails_sql_views). More information on Rails SQL Views can be found at http://activewarehouse.rubyforge.org/rails_sql_views/ This release finally fixes the SchemaDumper issues, including the necessary select statement for the view. It also introduces PostgreSQL support, tested on both the native and pure ruby drivers. As always, comments and suggestions are welcome. V/r Anthony Eden --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anthony, I''m really happy to see this plugin being released and your continued work on it. Can you give an example of using views in your application after running a migration created using your gem? Since the views aren''t returned with the show tables command, how does one tie a Model Class in their Rails Application with a correlating View? Thanks! D. Taylor Singletary On 12/29/06, Anthony Eden <anthonyeden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Rails SQL Views 0.5.0 is now available from > http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as > a Gem (gem install rails_sql_views). More information on Rails SQL > Views can be found at > http://activewarehouse.rubyforge.org/rails_sql_views/ > > This release finally fixes the SchemaDumper issues, including the > necessary select statement for the view. It also introduces PostgreSQL > support, tested on both the native and pure ruby drivers. > > As always, comments and suggestions are welcome. > > V/r > Anthony Eden > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the support! I just use regular model classes. In my tests on 1.2 RC1 the unit tests demonistrate models backed by views, so I''m not sure about the behavior you are referring to. Take a look at the ViewTest unit test to see. If it doesn''t work with a specific adapter then please let me know and I''ll see what I can do to get it working. Alternatively if you can send a unit test which demonistrates a deficiency then that is even better. V/r Anthony Eden On 12/29/06, D. Taylor Singletary <taylorsingletary-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Anthony, > > I''m really happy to see this plugin being released and your continued work > on it. > > Can you give an example of using views in your application after running a > migration created using your gem? Since the views aren''t returned with the > show tables command, how does one tie a Model Class in their Rails > Application with a correlating View? > > Thanks! > > D. Taylor Singletary > > > > On 12/29/06, Anthony Eden <anthonyeden-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Rails SQL Views 0.5.0 is now available from > > http://rubyforge.org/frs/?group_id=2435&release_id=8685 > and shortly as > > a Gem (gem install rails_sql_views). More information on Rails SQL > > Views can be found at > > http://activewarehouse.rubyforge.org/rails_sql_views/ > > > > This release finally fixes the SchemaDumper issues, including the > > necessary select statement for the view. It also introduces PostgreSQL > > support, tested on both the native and pure ruby drivers. > > > > As always, comments and suggestions are welcome. > > > > V/r > > Anthony Eden > > > > > > > > > > > > >-- Cell: 808 782-5046 Current Location: Melbourne, FL --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---