aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Rowe <nixterrimus@gmail.com>2011-02-19 23:47:12 -0500
committerNicholas Rowe <nixterrimus@gmail.com>2011-02-19 23:47:12 -0500
commit2a75c190d43dc6ea9d43216d324b7c0f38a1c65d (patch)
tree1bf0bc0e1f0af20d267917ccbb9b122c56c2a11a
parent89b3bc480761ee7afd858ab4a78d5b79be3a267c (diff)
downloadrails-2a75c190d43dc6ea9d43216d324b7c0f38a1c65d.tar.gz
rails-2a75c190d43dc6ea9d43216d324b7c0f38a1c65d.tar.bz2
rails-2a75c190d43dc6ea9d43216d324b7c0f38a1c65d.zip
Tpyo: fixing several cases of the the
-rw-r--r--activerecord/test/cases/autosave_association_test.rb2
-rw-r--r--railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb
index 0e93b468c1..0dfdaa3443 100644
--- a/activerecord/test/cases/autosave_association_test.rb
+++ b/activerecord/test/cases/autosave_association_test.rb
@@ -743,7 +743,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
2.times { |i| @pirate.birds.create!(:name => "birds_#{i}") }
before = @pirate.birds.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
diff --git a/railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery.js b/railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery.js
index 5c99a8d4a8..aa3a4f34fd 100644
--- a/railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery.js
+++ b/railties/lib/rails/generators/rails/app/templates/public/javascripts/jquery.js
@@ -2136,7 +2136,7 @@ jQuery.event = {
eventHandle = elemData.handle;
if ( typeof events === "function" ) {
- // On plain objects events is a fn that holds the the data
+ // On plain objects events is a fn that holds the data
// which prevents this data from being JSON serialized
// the function does not need to be called, it just contains the data
eventHandle = events.handle;