Skip to content

Commit

Permalink
Fix typo in named_scope documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Mar 30, 2011
1 parent 6a17151 commit 7a34ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/named_scope.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def scoped(options = nil)
# on scopes # on scopes
# #
# class Article < ActiveRecord::Base # class Article < ActiveRecord::Base
# scope :pubished, where(:published => true) # scope :published, where(:published => true)
# scope :featured, where(:featured => true) # scope :featured, where(:featured => true)
# #
# def self.latest_article # def self.latest_article
Expand Down

0 comments on commit 7a34ab7

Please sign in to comment.