You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: slides/api.markdown
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Let's take a look at some of the things that Rails provides out of the box that
45
45
46
46
# Versioning
47
47
48
-
If you are writing a consistent API which will be consumed by multiple clients then it is the best practise to separate out the API under a namespace.
48
+
If you are writing a consistent API which will be consumed by multiple clients then it is the best practice to separate out the API under a namespace.
49
49
50
50
API versioning lets your API to be backwards compatible.
51
51
@@ -167,7 +167,7 @@ end
167
167
168
168
Serialization is the process of translating data structures or object state into a format that can be stored
169
169
170
-
Rails serializes the object passed into the required format. What if you want to customise the JSON output? Like Remove the root element, Add custom attributes or Adding `has_many` relations? How do you acheive this?
170
+
Rails serializes the object passed into the required format. What if you want to customize the JSON output? Like Remove the root element, Add custom attributes or Adding `has_many` relations? How do you achieve this?
When we try to render out a model in a JSON format active model serializers automatically look for a serializer with the same name which is used to fetch data.
257
257
258
-
So render `ruby json: Post.find(params[:id])` will automatically look for a serialzer named `PostSerializer`
258
+
So render `ruby json: Post.find(params[:id])` will automatically look for a serializer named `PostSerializer`
Copy file name to clipboardExpand all lines: slides/circleci.markdown
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,9 @@ The list of buil-in variables you can see [here](https://circleci.com/docs/2.0/e
126
126
127
127
--
128
128
129
-
## **Remember!**
129
+
## **Remember!**
130
130
131
-
Do not add secrets or keys inside the `.circleci/config.yml` file.
131
+
Do not add secrets or keys inside the `.circleci/config.yml` file.
132
132
133
133
The full text of `config.yml` is visible to developers with access to your project on CircleCI.
134
134
@@ -145,7 +145,7 @@ Store secrets or keys in [project](https://github.com/rubygarage/circledge/blob/
145
145
146
146
**Caching** is one of the most effective ways to make jobs faster on CircleCI by reusing the data from expensive fetch operations from previous jobs.
147
147
148
-
A good example is package dependency managers such as Yarn, Bundler, or Pip. With dependencies restored from a cache, commands like yarn install will only need to download new dependencies, if any, and not redownload everything on every build.
148
+
A good example is package dependency managers such as Yarn, Bundler, or Pip. With dependencies restored from a cache, commands like yarn install will only need to download new dependencies, if any, and not re-download everything on every build.
149
149
150
150
151
151
--
@@ -174,7 +174,7 @@ A good example is package dependency managers such as Yarn, Bundler, or Pip. Wit
174
174
175
175
In order to clear the cache, you need to change the name of the key under which it is stored for example:
176
176
```yml
177
-
- v1-npm-deps-{{ checksum "package-lock.json" }}
177
+
- v1-npm-deps-{{ checksum "package-lock.json" }}
178
178
```
179
179
change to
180
180
```yml
@@ -192,7 +192,7 @@ change to
192
192
- Use `cache` key for define names of you cache. example:
@@ -389,17 +389,17 @@ After the completion of the job, you can see the artifacts in the tab 'Artifacts
389
389
390
390
## Overview
391
391
392
-
To support the open source community, projects that are public on GitHub or Bitbucket receive three free build containers, for a total of four containers.
392
+
To support the open source community, projects that are public on GitHub or Bitbucket receive three free build containers, for a total of four containers.
393
393
394
394
Only one container is available for private repositories
395
395
396
396
--
397
397
398
398
## Only Build Pull Requests
399
399
400
-
By default, CircleCI builds every commit from every branch.
400
+
By default, CircleCI builds every commit from every branch.
401
401
402
-
This behavior may be too aggressive for open source projects, which often have significantly more commits than private projects.
402
+
This behavior may be too aggressive for open source projects, which often have significantly more commits than private projects.
403
403
404
404
To change this setting, go to the Advanced Settings of your project and set the Only build pull requests option to On.
405
405
@@ -437,9 +437,9 @@ Often the best way to troubleshoot problems is to SSH into a job and inspect thi
437
437
438
438
--
439
439
440
-
If your project has a large number of tests, it will need more time to run them on one machine.
440
+
If your project has a large number of tests, it will need more time to run them on one machine.
441
441
442
-
To reduce this time, you can run tests in parallel by spreading them across multiple machines.
442
+
To reduce this time, you can run tests in parallel by spreading them across multiple machines.
443
443
444
444

445
445
@@ -468,9 +468,9 @@ jobs:
468
468
469
469
--
470
470
471
-
**CircleCI Orbs** are shareable packages of configuration elements, including jobs, commands, and executors.
471
+
**CircleCI Orbs** are shareable packages of configuration elements, including jobs, commands, and executors.
472
472
473
-
CircleCI provides certified orbs, along with 3rd-party orbs authored by CircleCI partners.
473
+
CircleCI provides certified orbs, along with 3rd-party orbs authored by CircleCI partners.
474
474
475
475
It is best practice to first evaluate whether any of these existing orbs will help you in your configuration workflow.
476
476
@@ -494,7 +494,7 @@ You can read about each of this features [here](https://github.com/rubygarage/ci
494
494
495
495
Before using the orb, you need to read the documentation for use which can be found on the main page of the orb
Copy file name to clipboardExpand all lines: slides/graphql.markdown
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ This architecture will be the most common for new projects. In the setup, you ha
189
189
190
190
--
191
191
192
-
### 2. GraphQL server that is a ** thin layer in front of a number of third party or legacy systems**
192
+
### 2. GraphQL server that is a ** thin layer in front of a number of third party or legacy systems**
193
193
194
194
GraphQL is used to **unify** these existing systems and hide their complexity. This way, new client applications can be developed that simply talk to the GraphQL server to fetch the data they need.
195
195
@@ -391,7 +391,7 @@ And response:
391
391
392
392
### Types
393
393
394
-
#### Types describs data units in the system. There are such types as:
394
+
#### Types describes data units in the system. There are such types as:
395
395
396
396
- Default scalar types
397
397
- Object types
@@ -1114,7 +1114,7 @@ GraphQL uses JSON format, which represents as text format, not as binary.
1114
1114
You can send a file as base64 string or send a download link.
1115
1115
1116
1116
### - Incoming Webhooks
1117
-
You will need to add the REST endpoints to listen for events from services like Stripe.
1117
+
You will need to add the REST endpoints to listen for events from services like Stripe.
1118
1118
1119
1119
---
1120
1120
@@ -1614,7 +1614,7 @@ query {
1614
1614
1615
1615
--
1616
1616
1617
-
#### and we will recieve
1617
+
#### and we will receive
1618
1618
1619
1619
```json
1620
1620
{
@@ -1657,7 +1657,7 @@ query {
1657
1657
#### Expose **node** and **cursor** fields
1658
1658
1659
1659
### Node
1660
-
#### Nodes are items in a list. A node is usually an object in your schema.
1660
+
#### Nodes are items in a list. A node is usually an object in your schema.
0 commit comments