iwantcoding
.com
Tutorials
▾
Web Frontend
HTML
CSS
HTML5
CSS3
JavaScript
TypeScript
Sass
React
Vue
Svelte
Tailwind
Backend
Python
PHP
Node.js
Java
Go
Rust
Ruby
C#
Databases
SQL
MySQL
PostgreSQL
MongoDB
Firebase
GraphQL
Redis
Mobile
React Native
Flutter
Swift
Kotlin
Ionic
Cloud & DevOps
AWS
Docker
Kubernetes
CI/CD
Linux/Bash
AI & Data
NumPy/Pandas
Machine Learning
TensorFlow
PyTorch
LangChain
RAG
Cybersecurity
XSS
SQL Injection
CSRF
OWASP Top 10
Cryptography
Ethical Hacking
Tools
Git
DSA
Design Patterns
RegEx
VS Code
Specialty
Game Dev
WordPress
Web3/Solidity
Three.js
Capstone
Enterprise Architecture
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
TYPESCRIPT
REACT
NODEJS
MONGODB
DOCKER
GIT
TAILWIND
GRAPHQL
LINUX-BASH
AWS
KUBERNETES
VUE
SVELTE
SASS
THREEJS
GO
RUST
JAVA
RUBY
CSHARP
WORDPRESS
POSTGRESQL
MYSQL
REDIS
FIREBASE
REACT-NATIVE
FLUTTER
SWIFT
KOTLIN
IONIC
CICD
NUMPY-PANDAS
ML
TENSORFLOW
PYTORCH
LANGCHAIN
XSS
SQLI
CSRF
OWASP
CRYPTO
DSA
DESIGN-PATTERNS
REGEX
VSCODE
GAMEDEV
WEB3
ENTERPRISE
CAPSTONE
ETHICAL-HACKING
🔥 Daily
👥 Rooms
🏆 Top
Log in
Sign up
AI ✨
Ruby Tutorial
BOSS QUIZ
10 questions · 5 minutes · pass at 70% to clear the track.
05:00
Start
Q1.
Ruby is…
from Intro
Statically typed
Dynamically typed
Compiled to native code
A markup language
Q2.
The ORM that ships with Rails is…
from Rails Intro
Sequel
Active Record
Datamapper
Doctrine
Q3.
Rails follows the pattern…
from Rails Intro
MVVM
MVC
Flux
Hexagonal
Q4.
Open a class again later with…
from Classes & Objects
reopen ClassName
class ClassName; end
extend ClassName
module ClassName
Q5.
Generate a new Rails app with…
from Rails Intro
rails create blog
rails new blog
bundle init blog
rake new blog
Q6.
A constructor in Ruby is named…
from Classes & Objects
__init__
initialize
constructor
new
Q7.
reduce(:+) computes…
from Enumerable
The product
The sum
The count
The max
Q8.
Run a block n times via…
from Blocks & Yield
n.times { … }
loop(n) { … }
repeat n { … }
for(n) { … }
Q9.
attr_accessor generates…
from Classes & Objects
Only a getter
Only a setter
Both getter and setter
A class method
Q10.
A block is yielded with the keyword…
from Blocks & Yield
return
yield
call
invoke
Submit
Back to Ruby Tutorial
🏆
Achievement unlocked!