diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-04-14 21:32:18 +0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-15 00:32:27 +0800 |
commit | 89884c194af77f5324509db1d14e20f45fc106e0 (patch) | |
tree | 5192904d77af864918fdec40fe7ab5ea611590fc /railties/guides/source/active_record_validations_callbacks.textile | |
parent | 93641ed6c8c684f6b4db02b6c8a22fa9bc7f0eaf (diff) | |
download | rails-89884c194af77f5324509db1d14e20f45fc106e0.tar.gz rails-89884c194af77f5324509db1d14e20f45fc106e0.tar.bz2 rails-89884c194af77f5324509db1d14e20f45fc106e0.zip |
Update scaffold controller to generate scss file if Sass is available
Diffstat (limited to 'railties/guides/source/active_record_validations_callbacks.textile')
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 514d0322b9..c65dd52e48 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -822,7 +822,7 @@ The selectors to customize the style of error messages are: * +#errorExplanation p+ - Style for the paragraph that holds the message that appears right below the header of the +div+ element. * +#errorExplanation ul li+ - Style for the list items with individual error messages. -Scaffolding for example generates +public/stylesheets/scaffold.css+, which defines the red-based style you saw above. +Scaffolding for example generates +app/assets/stylesheets/scaffold.css.scss+, which later compiles to +app/assets/stylesheets/scaffold.css+ and defines the red-based style you saw above. The name of the class and the id can be changed with the +:class+ and +:id+ options, accepted by both helpers. |