Thinknetica-contrib

Продвинутый Rails

Это сборник статей, отвечающих на типичные вопросы студентов в курсе Thinknetica - Продвинутый Rails.

Здесь так же собирается информация, необходимая для обновления используемых в курсе версий Ruby, Rails и других библиотек.

Введение

Процесс разработки

  • Homebrew и Asdf Wip
  • Актуальные версии ruby/rails и гемов
  • Совместимость руби и рельсов
  • Курсы по гит и тулы
  • Как задавать вопросы
  • Добавь меня в реп

Введение в TDD/BDD

  • Попробуйте гитхаб

Тестирование контроллеров

  • Управление ENV
  • CI на Rspec, Сoverege и Standardrb
  • Ветки с конфликтами или проблемами ci не принимаются
  • Кросс ревью и вопросы в общем чате

Интеграционное тестирование

Ajax в Rails

  • slim или erb?

ActiveStorage

  • В разработке

Вложенные формы и полиморфные ассоциации

  • JS в rails 7
  • JS glist

Различные формы Ajax в Rails

  • В разработке

Comet и pub/sub

  • В разработке

Протокол OAuth

  • Конкретные OAuth провайдеры
  • Приколы с Doorkeeper

Авторизация в rails

  • Pundit

REST API

  • В разработке

Фоновые задачи

  • В разработке

Полнотекстовый поиск

  • DHH монолит
  • Как выбирать технологии для стека
  • Сфинкс vs Эластик vs PG full text search

Настройка сервера

  • Passanger криво встает на Ubuntu 22.04.2 LTS
  • Puma vs Passanger vs Unicorn

Deploy. Часть 2

  • Ключи деплоя и ssh-agent / ssh-add -K на маке
  • Управление ENV при деплое
  • systemctl --user

Продвинутая настройка сервера

  • Kamel / MRSK
  • Где взять домен
  • Сertbot / Letsencrypt

Оптимизация и кеширование

  • В разработке

Отказоустойчивость

  • В разработке
Page ID: 1

This is Page::BlockquoteComponent

My Name
Terminal
ineedjet@shae ~/P/r/rubycats> git pull
Updating 5329963..1f2f189
Fast-forward
app/assets/stylesheets/tabler.css                | 19172 ----------------------------------------------------------------------------------------------
app/assets/stylesheets/tabler.min.css            |    13 +
app/components/article/back_forward_component.rb |    27 +
app/components/article/blockquote_component.rb   |    10 +
app/components/article/speaker_component.rb      |    45 +
app/components/article_component.rb              |     2 +-
app/views/articles/home.html.erb                 |    13 +
7 files changed, 109 insertions(+), 19173 deletions(-)
delete mode 100644 app/assets/stylesheets/tabler.css
create mode 100644 app/assets/stylesheets/tabler.min.css
create mode 100644 app/components/article/back_forward_component.rb
create mode 100644 app/components/article/blockquote_component.rb
create mode 100644 app/components/article/speaker_component.rb
ineedjet@shae ~/P/r/rubycats> git pull
Updating 5329963..1f2f189
Fast-forward
app/assets/stylesheets/tabler.css                | 19172 ----------------------------------------------------------------------------------------------
app/assets/stylesheets/tabler.min.css            |    13 +
app/components/article/back_forward_component.rb |    27 +
app/components/article/blockquote_component.rb   |    10 +
app/components/article/speaker_component.rb      |    45 +
app/components/article_component.rb              |     2 +-
app/views/articles/home.html.erb                 |    13 +
7 files changed, 109 insertions(+), 19173 deletions(-)
delete mode 100644 app/assets/stylesheets/tabler.css
create mode 100644 app/assets/stylesheets/tabler.min.css
create mode 100644 app/components/article/back_forward_component.rb
create mode 100644 app/components/article/blockquote_component.rb
create mode 100644 app/components/article/speaker_component.rb
<div class="language-plaintext highlighter-rouge">
  <div class="highlight">
    <pre class="highlight"><code>
      erb_template <<~ERB
      // Some comments
      <p>line 1 of code<p>
      line 2 of code
      line 3 of code
      ERB
    </code></pre>
  </div>
</div>

A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects.

Tabler Free License

Tabler Free is available under MIT License

Copyright 2023 Tabler

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tabler PRO and Tabler Email License

After Purchasing you are granted the use products under the conditions featured belowed.

Rights

  1. You have rights to use our resources for any or all of your personal and commercial projects.
  2. You may modify the resources according to your requirements.
  3. You are not required to attribute or link to Tabler in any of your projects.

Restrictions

  1. You do not have the rights to redistribute, resell, lease, license, sub-license or offer the file downloaded to any third party.
  2. For any resalable web applications or software programs, you cannot include our graphic resources as an additional attachment.
  3. You cannot redistribute any of the software, or products created with Tabler paid products.
  4. You cannot add our source code to any open source repository.
  5. The source code may not be placed on any website in a complete or archived downloadable format.

This is a legal agreement between you, the Purchaser, and Tabler. Purchasing or downloading of any Tabler product (Tabler Free, Tabler PRO, Tabler Email), constitutes your acceptance of the terms of this license, Tabler terms of service and Tabler private policy.

A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects.

Tabler Free License

Tabler Free is available under MIT License

Copyright 2023 Tabler

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tabler PRO and Tabler Email License

After Purchasing you are granted the use products under the conditions featured belowed.

Rights

  1. You have rights to use our resources for any or all of your personal and commercial projects.
  2. You may modify the resources according to your requirements.
  3. You are not required to attribute or link to Tabler in any of your projects.

Restrictions

  1. You do not have the rights to redistribute, resell, lease, license, sub-license or offer the file downloaded to any third party.
  2. For any resalable web applications or software programs, you cannot include our graphic resources as an additional attachment.
  3. You cannot redistribute any of the software, or products created with Tabler paid products.
  4. You cannot add our source code to any open source repository.
  5. The source code may not be placed on any website in a complete or archived downloadable format.