Eager loading in Rails (Ruby on Rails)
Eager loading is a way to find objects of a certain class and a number of named associations.
Insights on AI, machine learning, computer vision, and enterprise technology.
Eager loading is a way to find objects of a certain class and a number of named associations.
āCā for many of us is just a letter from 36 lettered alphabet, but if we ask an iPhone application developer, he will say it as a sanctified letter because the base of iPhone programming is based on this single letter āC.”
Every one of us would be having different persuasiveness in the definition and experience of their Job. Many of us would have felt that morning no longer remained as fresh…
Few common mistakes, must be taken care of while developing RoR applications.
Updated 4 September 2026. Page caching left Rails core in version 4. Since 8.0 the default cache store is Solid Cache, beside the Redis and Memcached stores, collection caching, cache_key_with_version…
In a Ruby on Rails application, we need to skip validation as well as callbacks while saving the object.
In Rails 3.x, commonly used method to skip callbacks is ActiveSupport’s skip_callback method, but this method could cause problems as its not thread-safe. This post talks about alternative way to achieve the purpose.
In Rails, ActiveRecord works as a bridge between the database and Ruby code and allows straightforward mappings between applications objects and database tables. ActiveRecord is compatible with databases like MySQL, SQLite and PstegreSQL. RoR recommends three separate databases for development, production and test environments.