Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

2355 - 3 #271

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

2355 - 3 #271

wants to merge 4 commits into from

Conversation

Aleksei12942
Copy link
Contributor

Номер

2355

Номер задания

3

Ссылка на видео с демо

https://youtu.be/hT_ggIzlXE0

Комментарии

Можно просмотреть список всех добавленных статей, можно добавить новую статью, можно посмотреть рейтинги статей, рейтинги комментов отдельной статьи. В ТЗ больше вроде не требовалось...

docs = { 'id' => 1,
'language' => 'ru',
'text' => text }
documents = { 'documents': [docs] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON
Lint/Syntax: unexpected token tRCURLY

'language' => 'ru',
'text' => comment.text.to_s }
end
documents = { 'documents': docs }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON

docs = { 'id' => 1,
'language' => 'ru',
'text' => text }
documents = { 'documents': [docs] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON
Lint/Syntax: unexpected token tRCURLY

'language' => 'ru',
'text' => comment.text.to_s }
end
documents = { 'documents': docs }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON

def initialize(text)
@text = text
docs = { 'id' => 1, 'language' => 'ru', 'text' => text }
documents = { 'documents': [docs] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON
Lint/Syntax: unexpected token tRCURLY

@article.comments.each do |comment|
docs << { 'id' => 1, 'language' => 'ru', 'text' => comment.text.to_s }
end
documents = { 'documents': docs }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/Syntax: unexpected token tCOLON

def initialize(text)
@text = text
docs = { 'id' => 1, 'language' => 'ru', 'text' => text }
documents = { 'documents'=> [docs] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/SpaceAroundOperators: Surrounding space missing for operator =>.

@article.comments.each do |comment|
docs << { 'id' => 1, 'language' => 'ru', 'text' => comment.text.to_s }
end
documents = { 'documents'=> docs }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/SpaceAroundOperators: Surrounding space missing for operator =>.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants