Ruby Interview | Ruby on Rails
484 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 will this code print?
puts "2 + 2 = #{2 + 2}"
Anonymous Quiz
4%
2 + 2 = 2 + 2
2%
2 + 2 = 22
92%
2 + 2 = 4
2%
Error
Which header is used to send authentication tokens in REST APIs?
Anonymous Quiz
9%
Content-Type
3%
Accept
85%
Authorization
3%
Cookie
Ruby in 2025 💎

Ruby in 2025 stayed calm and mature.
No hype, no drama — just stable, readable, productive code.

🚀 Performance kept improving (YJIT)
🛤 Rails focused on Hotwire and boring, reliable architecture
🏗 More modular monoliths, fewer unnecessary microservices
🧪 Cleaner code, fewer callbacks, more explicit logic

Ruby isn’t trendy anymore — and that’s its strength.
It’s a language for teams who value clarity, stability, and long-term maintenance ❤️
1🔥16❤4🥰3
What is the correct way to handle a ZeroDivisionError in Ruby?
Anonymous Quiz
49%
using rescue
8%
using raise
37%
using begin and rescue
6%
using catch
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