Reputation: 15
Hello I have built the following query:
patron.where.first(:Queued => 1)
This returns the entire record, I just need one column named time
. Something like:
patron.where.first(:Queued => 1).get(:time)
Any ideas on this?
Upvotes: 1
Views: 378