Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Add some h3 to the heading to make it stands out
Browse files Browse the repository at this point in the history
  • Loading branch information
sikachu committed Jul 10, 2012
1 parent 86cddc6 commit 3d55695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ allowing custom styles and processors to be applied for specific model
instances, rather than applying defined styles and processors across all
instances.

Dynamic Styles:
### Dynamic Styles:

Imagine a user model that had different styles based on the role of the user.
Perhaps some users are bosses (e.g. a User model instance responds to #boss?)
Expand All @@ -463,7 +463,7 @@ look as follows where a boss will receive a `300x300` thumbnail otherwise a
has_attached_file :avatar, :styles => lambda { |attachment| { :thumb => (attachment.instance.boss? ? "300x300>" : "100x100>") }
end

Dynamic Processors:
### Dynamic Processors:

Another contrived example is a user model that is aware of which file processors
should be applied to it (beyond the implied `thumbnail` processor invoked when
Expand Down

0 comments on commit 3d55695

Please sign in to comment.