How rails is connect to oops concept?

Please explain with example

any idea will be appreciated :relaxed:

What do you mean by “oops”?

Dictionary:

used to show recognition of a mistake or minor accident, often as part of an apology.

“Oops! I’m sorry. I just made you miss your bus!”

Did you mean object-oriented programming?

yes, object oriented programming system

Rails is built on Ruby and in Ruby everything is basically an object. As for some design patterns, some actually criticize Rails for doing too much in its classes and say that people should strive to write smaller PORO objects. I think the industry OOP is a bit different than the philosophy and a little different going from language to language.