Skip to content

Instantly share code, notes, and snippets.

Prev / Next после фильтрации

5) В каких-то продуктах невозможно добавить кол-ва в заказ и цены где-то тоже не отображены

В collections, categories в скобках мы должны показывать кол-во продуктов в данной коллекции или категории

2 ошибки в Oops форме

404 при просмотре своего бренда с preview

1. Знание основ Ruby, фреймворка Ruby on Rails
- http://guides.rubyonrails.org/
- http://rusrails.ru/
Вопросы:
1. Чем отличается статическая и динамическая типизации в языках программирования?
2. Какие виды наследования поддерживаются в Ruby?
3. Что такое модуль? Какая разница между классом и модулем?
4. Какие есть уровни контроля доступа к методам для классов и модулей?
5. Какие есть способы вызова методов в Ruby?
6. Что означает ключевое слово self?
@sinpai
sinpai / Gold.md
Created January 20, 2018 06:14 — forked from vovs03/Gold.md

Ruby Association Certified Ruby Examination Gold Sample Questions

Q1. Assume that the following code must have the stated execution result.

__(1)__
x.each_line { |line| puts line }

[Execution Result]
apple

Setup

Replace IRB with Pry (in your Gemfile) and Byebug with pry-byebug.

gem 'pry-rails', group: [:development, :test]
gem 'pry-byebug', group: [:development, :test]

Using PRY

1
00:00:01,133 --> 00:00:03,074
I just wanted to tell you
that I appreciate you
2
00:00:03,075 --> 00:00:04,275
patching things
up with him.
@sinpai
sinpai / GistList!.md
Created November 26, 2014 22:28
Try GistList for iOS! http://gistlist.io/

##alt text GistList: TODO for coders alt text