Permalink
Browse files

Make sure migration content fits in page

  • Loading branch information...
1 parent fae8bdf commit 22bdebb4034712c2ee96c314d26db9019f2b2fa3 @joefiorini committed Apr 5, 2012
Showing with 8 additions and 1 deletion.
  1. +7 −0 guides/assets/stylesheets/main.css
  2. +1 −1 guides/source/migrations.textile
@@ -32,6 +32,13 @@ pre,code,tt {
font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
line-height: 1.5;
}
+pre,tt {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
abbr, acronym { border-bottom: 1px dotted #666; }
address { margin: 0 0 1.5em; font-style: italic; }
@@ -325,7 +325,7 @@ end
As always, what has been generated for you is just a starting point. You can add
or remove from it as you see fit by editing the
-db/migrate/YYYYMMDDHHMMSS_add_details_to_products.rb file.
+<TIMESTAMP>_add_details_to_products.rb file under db/migrate.
NOTE: The generated migration file for destructive migrations will still be
old-style using the +up+ and +down+ methods. This is because Rails needs to know

0 comments on commit 22bdebb

Please sign in to comment.