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 does this code output?

puts "πŸ‰" * 3
Anonymous Quiz
3%
πŸ‰3
88%
"πŸ‰πŸ‰πŸ‰"
1%
"3πŸ‰"
7%
Error
1πŸ‘2😱1
Which header controls cross-origin resource sharing (CORS)?
Anonymous Quiz
9%
Authorization
3%
User-Agent
85%
Access-Control-Allow-Origin
2%
Content-Length
What’s the main drawback of monolithic architecture in Ruby on Rails applications?
Anonymous Quiz
2%
No database support
67%
Harder to test small parts of the system
28%
Ruby cannot scale monoliths at all
3%
Controllers cannot talk to models
Forwarded from Android frameworks
🌑 WiFi Temperature Sensor (ESP32 + DHT11)

A simple IoT temperature and humidity sensor based on ESP32-C3 and DHT11.
The device measures temperature and humidity, sends the data to a backend server, and from there it can be forwarded, for example, to a Telegram bot.

https://github.com/UDFSoft/Wifi-Temp-Sensor/
1πŸ‘2❀1πŸ‘1
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/