Permalink
Browse files

Reflow comment

  • Loading branch information...
1 parent 1433f15 commit bd2d666948c52b7976483a96341374afde3d2ff0 @norman committed Mar 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/friendly_id/base.rb
View
@@ -194,9 +194,9 @@ def friendly_id(base = nil, options = {}, &block)
# Returns the model class's {FriendlyId::Configuration friendly_id_config}.
# @note In the case of Single Table Inheritance (STI), this method will
- # duplicate the parent class's FriendlyId::Configuration instance on first
- # access. If you're concerned about thread safety, then be sure to invoke
- # {#friendly_id} in your class for each model.
+ # duplicate the parent class's FriendlyId::Configuration and relation class
+ # on first access. If you're concerned about thread safety, then be sure
+ # to invoke {#friendly_id} in your class for each model.
def friendly_id_config
@friendly_id_config or begin
@friendly_id_config = base_class.friendly_id_config.dup.tap do |config|

0 comments on commit bd2d666

Please sign in to comment.