[Rails-core] Is it possible to serialize the "query builder data" part of ActiveRecord::Relation

2013-12-03 Thread Anton Kuzmin
Is it possible to serialize the "query builder data" part of ActiveRecord::Relation and use it later to query the database with exactly the same query? to_sql is not suitable My task is to have reload a div that contains a list of records got from DB. It can be taken from DB via simple search,

Re: [Rails-core] Is it possible to serialize the "query builder data" part of ActiveRecord::Relation

2013-12-03 Thread richard schneeman
No clue how to do this, this would be a better question for stack overflow or rubyonrails-talk group. Providing an example of what you're truing to achieve would help. Please re-post this question to either of those places. On Tue, Dec 3, 2013 at 12:40 PM, Anton Kuzmin wrote: > Is it possible to