Does Ruby on Rails' ActiveRecord support "disconnected recordsets" (like ADO.net)?

Using Microsoft's ADO.net, one can you query database -> disconnect database connection -> query/manipulate locally -> connect again (re-synchronize local with database).

I've found value in this as overall it can minimize database hits.

Does ActiveRecord support such a model/pattern?

Answers


Minimizing database hits can be handled without closing database connections.

Database connections are expensive resources, opening and closing them will slow your app down.


Need Your Help

jQuery .prepend a variable

javascript jquery css prepend

Hello Stack Overflow community! I would like to $("div").prepend(content), where content is a variable holding the user's input. I want the prepended text to be lime colored. Here is my CSS code:

Mediaelement.js simple audio playlist skin

javascript jquery html5 audio mediaelement.js

I've been searching the documentation of mediaelement.js for a Playlist skin( or atleast a skin that has previous and forward button) does such thing exist? I've seen examples online that has a pre...