@ Marnen Laibow-Koser Thanks Marnen for the reply. I will look into it and will let you know.
Thanks , karthik On Thu, Jan 20, 2011 at 10:27 AM, Marnen Laibow-Koser <[email protected]>wrote: > Karthik l Bhat wrote in post #976157: > > Hi guys , I am stuck at a particular situation . When I run > > rake db:test:clone_structure ,the test db is not copying the views that > > are in the development db.So is there any solution for this problem so > > that I can get the views in test db also . I have tried using rake > > db:test:purge and rake db:test:clone as well. But it doesn't support me > > as well. > > > > Hope I get some suggestions here , > > The problem is probably that the views aren't getting written to the > db/schema.rb file, which is where Rake's clone tasks get there DB > structure info from. I'd recommend installing the rails_sql_views > plugin, then doing rake db:schema:dump to get all the views into the > schema file. If that doesn't work, maybe you should set the schema > dumper format to :sql. > > > > > Thanks in Advance . > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > [email protected] > > Sent from my iPhone > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [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-talk?hl=en.

