Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wip: paid subscriptions system and articles #467
base: master
Are you sure you want to change the base?
wip: paid subscriptions system and articles #467
Changes from 38 commits
01e20d1
5a8e0df
f76fb69
fda8cd9
9f884e5
472b9a8
c82f46e
8956ebc
09e8c50
a27935a
97ffc49
adbc98c
ffbccc5
6681798
ca250bd
66907ce
b64f9ec
0e731a6
6d236ec
6ba8bd1
85f996d
4d14f17
518d6c6
152a8b5
2d9083e
5e49aef
63a2e1d
9692009
7c24259
defe95b
434a130
58dff5c
b1997a0
48abb03
368a182
28bd61c
4590d97
c956e56
eb89235
a0d683b
b9db1cd
d2391e9
e112313
4e2e840
fee752c
06ad62e
12e32fd
6cae8a0
012f6bd
5b1bff1
8a5a714
6d3196f
74232b0
ef231da
a85b030
d7bbf2c
604b731
470c527
1768f59
e5b05ec
8894741
720c7d2
1a799a5
97308cb
5a8745d
62a1671
f7612cc
1e45760
9a89c40
30781cd
5e1cdc2
94969bd
a581ec2
f32b650
941e461
26df468
c92c379
bc40946
d786742
05f125a
579bca7
3d6d1ab
a755954
e825b68
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we receive the price as a "human" number (5.00 €), we need to multiply it here to get cents or else the validation will not be happy with a float.
Check warning on line 12 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L7-L12
Check warning on line 19 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L17-L19
Check warning on line 22 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L22
Check warning on line 27 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L25-L27
Check warning on line 32 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L29-L32
Check warning on line 42 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L42
Check warning on line 46 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L46
Check warning on line 52 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L50-L52
Check warning on line 56 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L56
Check warning on line 61 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L60-L61
Check warning on line 64 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L64
Check warning on line 66 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L66
Check warning on line 69 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L69
Check warning on line 72 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L72
Check warning on line 77 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L77
Check warning on line 79 in app/controllers/sales_controller.rb
Codecov / codecov/patch
app/controllers/sales_controller.rb#L79
This file was deleted.