Skip to content

Commit c952765

Browse files
committed
Fix quotes [ci skip]
1 parent a903073 commit c952765

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

actioncable/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ The Ruby side of things is built on top of [websocket-driver](https://github.com
454454
## Deployment
455455

456456
Action Cable is powered by a combination of WebSockets and threads. All of the
457-
connection management is handled internally by utilizing Rubys native thread
457+
connection management is handled internally by utilizing Ruby's native thread
458458
support, which means you can use all your regular Rails models with no problems
459-
as long as you havent committed any thread-safety sins.
459+
as long as you haven't committed any thread-safety sins.
460460

461461
The Action Cable server does _not_ need to be a multi-threaded application server.
462462
This is because Action Cable uses the [Rack socket hijacking API](http://www.rubydoc.info/github/rack/rack/file/SPEC#Hijacking)

guides/source/autoloading_and_reloading_constants.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ to work on some subclass, things get interesting.
954954
While working with `Polygon` you do not need to be aware of all its descendants,
955955
because anything in the table is by definition a polygon, but when working with
956956
subclasses Active Record needs to be able to enumerate the types it is looking
957-
for. Lets see an example.
957+
for. Let's see an example.
958958

959959
`Rectangle.all` only loads rectangles by adding a type constraint to the query:
960960

@@ -963,7 +963,7 @@ SELECT "polygons".* FROM "polygons"
963963
WHERE "polygons"."type" IN ("Rectangle")
964964
```
965965

966-
Lets introduce now a subclass of `Rectangle`:
966+
Let's introduce now a subclass of `Rectangle`:
967967

968968
```ruby
969969
# app/models/square.rb
@@ -978,7 +978,7 @@ SELECT "polygons".* FROM "polygons"
978978
WHERE "polygons"."type" IN ("Rectangle", "Square")
979979
```
980980

981-
But theres a caveat here: How does Active Record know that the class `Square`
981+
But there's a caveat here: How does Active Record know that the class `Square`
982982
exists at all?
983983

984984
Even if the file `app/models/square.rb` exists and defines the `Square` class,
@@ -1049,7 +1049,7 @@ end
10491049

10501050
The purpose of this setup would be that the application uses the class that
10511051
corresponds to the environment via `AUTH_SERVICE`. In development mode
1052-
`MockedAuthService` gets autoloaded when the initializer runs. Lets suppose
1052+
`MockedAuthService` gets autoloaded when the initializer runs. Let's suppose
10531053
we do some requests, change its implementation, and hit the application again.
10541054
To our surprise the changes are not reflected. Why?
10551055

guides/source/working_with_javascript_in_rails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Rails 5.1 introduced rails-ujs and dropped jQuery as a dependency.
382382
As a result the Unobtrusive JavaScript (UJS) driver has been rewritten to operate without jQuery.
383383
These introductions cause small changes to `custom events` fired during the request:
384384

385-
NOTE: Signature of calls to UJSs event handlers has changed.
385+
NOTE: Signature of calls to UJS's event handlers has changed.
386386
Unlike the version with jQuery, all custom events return only one parameter: `event`.
387387
In this parameter, there is an additional attribute `detail` which contains an array of extra parameters.
388388

0 commit comments

Comments
 (0)