Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed environment.rb to application.rb
  • Loading branch information
ugisozols committed Oct 25, 2010
1 parent 604c211 commit 8f141d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/migrations.textile
Expand Up @@ -546,7 +546,7 @@ Schema files are also useful if you want a quick look at what attributes an Acti


h4. Types of Schema Dumps h4. Types of Schema Dumps


There are two ways to dump the schema. This is set in +config/environment.rb+ by the +config.active_record.schema_format+ setting, which may be either +:sql+ or +:ruby+. There are two ways to dump the schema. This is set in +config/application.rb+ by the +config.active_record.schema_format+ setting, which may be either +:sql+ or +:ruby+.


If +:ruby+ is selected then the schema is stored in +db/schema.rb+. If you look at this file you'll find that it looks an awful lot like one very big migration: If +:ruby+ is selected then the schema is stored in +db/schema.rb+. If you look at this file you'll find that it looks an awful lot like one very big migration:


Expand Down

0 comments on commit 8f141d0

Please sign in to comment.