🚧 This document is being continuously fine-tuned, and thus may change upon consecutive verifications 🚧
Each verification is performed with Tech Lead unless instructed otherwise. Curated list of basic learning resources can be found here
🚧 This document is being continuously fine-tuned, and thus may change upon consecutive verifications 🚧
Each verification is performed with Tech Lead unless instructed otherwise. Curated list of basic learning resources can be found here
Be prepared to show following GIT CLI skills in action. All skills are required to get :
Be prepared to explain and effectively use following language and ActiveSupport features
Max score: 152
Minimum requirements:
You will not get a pass if you check more than 5 items that you will not be able to prove being knowledgeable about during verification, so check items only if you are sure about them. Be advised, that questions will be rather general ("what does that return?", "what does it do?", "how does that differ from x?").
Provide the list or PR or other contributions that proves understanding of each subject group or ask for tech interview (more time effective), where we will go step by step throught the following list.
Max score: 331
Minimum requirements:
You will not get a pass if you check more than 5 items that you will not be able to prove being knowledgeable about during verification, so check items only if you are sure about them. Be advised, that questions will be rather general ("what does that return?", "what is it all about?", "what does that mean?", "how does that differ from x?").
Be prepared to explaing following terms/rules/principles etc.
| # To make it easier to find descriptions and add exceptions | |
| AllCops: | |
| DisplayCopNames: true | |
| Exclude: | |
| - 'bin/**/*' | |
| - 'vendor/**/*' | |
| - 'db/schema.rb' | |
| - 'tmp/**/*' | |
| - 'node_modules/**/*' |
| class BookingsController < ApplicationController | |
| def index | |
| # `order` was added prematurely and in the result may remain untested | |
| bookings = Booking.order(customer_name: :asc) | |
| render :index, locals: { bookings: bookings } | |
| end | |
| end |
Najpierw się pływa, później jedzie na rowerze, a na końcu biegnie.
Dystans Ironman to 3600m pływania, 180km jazdy na rowerze, oraz 42.2km biegu (maraton).
Poniższe zestawienie zebrane zostało z moich osobistych doświadczeń i nie aspiruje w żadnym wypadku do rangi jakiegoś super-hiper poradnika pro-triathlonisty :)
| # spec/events/locks/code_generate_event_spec.rb | |
| module Locks | |
| RSpec.describe CodeGeneratedEvent do | |
| it 'validates presence of code, reservation id and room id' do | |
| expect(CodeGeneratedEvent.new(code: nil, reservation_id: 1, room_id: 1)).not_to be_valid | |
| expect(CodeGeneratedEvent.new(code: '123', reservation_id: nil, room_id: 1)).not_to be_valid | |
| expect(CodeGeneratedEvent.new(code: '123', reservation_id: 1, room_id: nil)).not_to be_valid | |
| expect(CodeGeneratedEvent.new(code: '123', reservation_id: 1, room_id: 1)).to be_valid | |
| end | |
| end |
| def with_enumerated(subject, method_name) | |
| begin | |
| subject.define_singleton_method("#{method_name}_with_enum") do |*args, &block| | |
| return enum_for(method_name, *args) unless block.present? | |
| public_send("#{method_name}_without_enum",*args, &block) | |
| end | |
| subject.singleton_class.alias_method "#{method_name}_without_enum", method_name | |
| subject.singleton_class.alias_method method_name, "#{method_name}_with_enum" | |
| yield | |
| ensure |