Ruby Interview | Ruby on Rails
483 subscribers
15 photos
3 links
The Ruby Interview channel is a resource for preparing for Ruby developer interviews.

It features questions, problem-solving solutions, and interview tips.

Contact:
@Connor_1992
Download Telegram
What method in Rails controllers is used to handle HTTP GET requests for retrieving data?
Anonymous Quiz
4%
get_data
40%
show
42%
index
14%
fetch
What is the name of the Rails callback that runs before a model's destroy method?
Anonymous Quiz
5%
before_save
2%
after_commit
2%
around_validation
91%
before_destroy
❤1
What is the correct way to create a Thread in Ruby?
Anonymous Quiz
85%
Thread.new { puts 'Hello' }
9%
thread = new Thread('puts', 'World')
4%
Thread.start { puts 'Ruby' }
1%
new Thread { puts 'Concurrency' }
❤1
[EN] For lovers of 2000s nostalgia:
[RU] Для любителей ностальгии 2000-х:

https://github.com/USoft-History/J2ME-Articles/
What pattern allows a system to handle more users by adding more servers?
Anonymous Quiz
29%
Sharding
3%
Caching
24%
Replication
44%
Load Balancing
What is a common practice to prevent XSS attacks in web development?
Anonymous Quiz
15%
Use HTTPS only
24%
Avoid using external scripts
60%
Sanitize user inputs
1%
Disable JavaScript
What Ruby method is used to free memory occupied by an object?
Anonymous Quiz
15%
nil?
31%
delete
33%
clear
21%
free
👎5