How do you create a hash in Ruby?
Anonymous Quiz
98%
{ name: "Alice", age: 25 }
0%
[ name: "Alice", age: 25 ]
1%
( name: "Alice", age: 25 )
0%
< name: "Alice", age: 25 >
Which header is used to send authentication tokens in REST APIs?
Anonymous Quiz
9%
Content-Type
3%
Accept
85%
Authorization
3%
Cookie
What does HTTP status code 201 Created mean?
Anonymous Quiz
3%
The request failed due to server error.
90%
A resource was successfully created.
2%
The resource was deleted.
5%
The request is still processing.
Santa asks:
Which design choice makes systems easier to test?
Which design choice makes systems easier to test?
Anonymous Quiz
13%
Logic in controllers
16%
Logic in ActiveRecord models
69%
Logic in service objects / plain Ruby objects
2%
Logic in callbacks
👍4
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 ❤️
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 is an Event Store in the context of event-driven architecture?
Anonymous Quiz
15%
A database for storing user data
29%
A tool to manage application state changes
46%
A system for capturing and replaying events
9%
A service for handling HTTP requests
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
Forwarded from Android books channel🤖
[EN] For lovers of 2000s nostalgia:
[RU] Для любителей ностальгии 2000-х:
https://github.com/USoft-History/J2ME-Articles/
[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 is the primary purpose of using caching in HTTP requests?
Anonymous Quiz
41%
Speed up page load times
1%
Increase security by encrypting data
58%
Reduce server load by storing frequently accessed data
0%
Decrease website traffic
What is the purpose of a Rails middleware in an application?
Anonymous Quiz
86%
To handle HTTP requests and responses
6%
To manage database connections
4%
To define routes for URLs
4%
To encrypt sensitive data
What Ruby method is used to free memory occupied by an object?
Anonymous Quiz
15%
nil?
31%
delete
33%
clear
21%
free
👎5