aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-01-26 00:54:55 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-01-26 00:56:40 +0900
commit650e46afbcf21334c95af5814b6d00c01901dac2 (patch)
treefaa9516dd46447f062ba57b42b9b25d35eda50cf
parentc6f7c18e25a7fb3719ae15c2d3662e340f63c164 (diff)
downloadrails-650e46afbcf21334c95af5814b6d00c01901dac2.tar.gz
rails-650e46afbcf21334c95af5814b6d00c01901dac2.tar.bz2
rails-650e46afbcf21334c95af5814b6d00c01901dac2.zip
s/an/a/
[ci skip]
-rw-r--r--actionview/app/assets/javascripts/utils/event.coffee2
-rw-r--r--actionview/test/ujs/public/test/settings.js2
-rw-r--r--railties/lib/rails/generators/resource_helpers.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/actionview/app/assets/javascripts/utils/event.coffee b/actionview/app/assets/javascripts/utils/event.coffee
index 049b2a3ecd..d25fe8e546 100644
--- a/actionview/app/assets/javascripts/utils/event.coffee
+++ b/actionview/app/assets/javascripts/utils/event.coffee
@@ -13,7 +13,7 @@ if typeof CustomEvent is 'function'
evt
CustomEvent.prototype = window.Event.prototype
-# Triggers an custom event on an element and returns false if the event result is false
+# Triggers a custom event on an element and returns false if the event result is false
fire = Rails.fire = (obj, name, data) ->
event = new CustomEvent(
name,
diff --git a/actionview/test/ujs/public/test/settings.js b/actionview/test/ujs/public/test/settings.js
index 3375456f11..c68ca24d6a 100644
--- a/actionview/test/ujs/public/test/settings.js
+++ b/actionview/test/ujs/public/test/settings.js
@@ -76,7 +76,7 @@ try {
}
$.fn.extend({
- // trigger an native click event
+ // trigger a native click event
triggerNative: function(type, options) {
var el = this[0],
event,
diff --git a/railties/lib/rails/generators/resource_helpers.rb b/railties/lib/rails/generators/resource_helpers.rb
index 978b053308..e7cb722473 100644
--- a/railties/lib/rails/generators/resource_helpers.rb
+++ b/railties/lib/rails/generators/resource_helpers.rb
@@ -59,7 +59,7 @@ module Rails
end
# Loads the ORM::Generators::ActiveModel class. This class is responsible
- # to tell scaffold entities how to generate an specific method for the
+ # to tell scaffold entities how to generate a specific method for the
# ORM. Check Rails::Generators::ActiveModel for more information.
def orm_class
@orm_class ||= begin