# Config.active\_record.schema\_format = :sql

**URL:** <https://www.ruby-forum.com/t/config-active-record-schema-format-sql/117297>\
**Category:** Rails\
**Created:** [October 15, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/config-active-record-schema-format-sql/117297 "2007-10-15T19:44:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dxk3355](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/d6d6ee/32.png) [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Post date:** [October 15, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/config-active-record-schema-format-sql/117297/1 "2007-10-15T19:44:48Z")

</div>

Hi!

I have this strange problem… I uncommented the line from the subject in  
environment.rb… but I still get schema.rb file with ruby schema when  
running rake db:schema:dump .

It is really happening, because I deleted the file and it appears again.

I tried running it with:  
rake environment RAILS\_ENV=production db:schema:dump  
and other two environments and it’s still the same.

I haven’t set anything new in  
config/environments/[production|development|test].rb

please help!  
thank you…  
david
