mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix Typos: remove several occurences of the the
This commit is contained in:
parent
a906deabc6
commit
9a9d895481
5 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@ module ActionView
|
|||
@controller = controller
|
||||
end
|
||||
|
||||
# Add the the extension +ext+ if not present. Return full URLs otherwise untouched.
|
||||
# Add the extension +ext+ if not present. Return full URLs otherwise untouched.
|
||||
# Prefix with <tt>/dir/</tt> if lacking a leading +/+. Account for relative URL
|
||||
# roots. Rewrite the asset path for cache-busting asset ids. Include
|
||||
# asset host, if configured, with the correct request protocol.
|
||||
|
|
|
@ -793,7 +793,7 @@ module ActiveRecord
|
|||
# belongs_to :dungeon
|
||||
# end
|
||||
#
|
||||
# The +traps+ association on +Dungeon+ and the the +dungeon+ association on +Trap+ are
|
||||
# The +traps+ association on +Dungeon+ and the +dungeon+ association on +Trap+ are
|
||||
# the inverse of each other and the inverse of the +dungeon+ association on +EvilWizard+
|
||||
# is the +evil_wizard+ association on +Dungeon+ (and vice-versa). By default,
|
||||
# Active Record doesn't know anything about these inverse relationships and so no object
|
||||
|
|
|
@ -39,7 +39,7 @@ module ActiveRecord
|
|||
# ascending on the primary key ("id ASC") to make the batch ordering
|
||||
# work. This also mean that this method only works with integer-based
|
||||
# primary keys. You can't set the limit either, that's used to control
|
||||
# the the batch sizes.
|
||||
# the batch sizes.
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
|
|
|
@ -747,7 +747,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
|
|||
2.times { |i| @pirate.send(association_name).create!(:name => "#{association_name}_#{i}") }
|
||||
before = @pirate.send(association_name).map { |c| c.mark_for_destruction ; c }
|
||||
|
||||
# Stub the destroy method of the the second child to raise an exception
|
||||
# Stub the destroy method of the second child to raise an exception
|
||||
class << before.last
|
||||
def destroy(*args)
|
||||
super
|
||||
|
|
|
@ -888,7 +888,7 @@ Note: Only the +option+ tags are returned, you have to wrap this call in a regul
|
|||
|
||||
h5. options_from_collection_for_select
|
||||
|
||||
Returns a string of option tags that have been compiled by iterating over the +collection+ and assigning the the result of a call to the +value_method+ as the option value and the +text_method+ as the option text.
|
||||
Returns a string of option tags that have been compiled by iterating over the +collection+ and assigning the result of a call to the +value_method+ as the option value and the +text_method+ as the option text.
|
||||
|
||||
<ruby>
|
||||
# options_from_collection_for_select(collection, value_method, text_method, selected = nil)
|
||||
|
|
Loading…
Reference in a new issue