On 22 November 2011 10:41, rajeevsharma86 wrote:
> MONGODB
> database['users'].find({:_id=>BSON::ObjectId('4e97324912959c3296067674576500225')})
> Rendered users/index.csv.rcsv (103390.8ms)
> Completed 200 OK in 104969ms (Views: 103402.9ms)
Please don't top post, it makes it difficult to follow t
MONGODB
database['users'].find({:_id=>BSON::ObjectId('4e97324912959c3296067674576500225')})
Rendered users/index.csv.rcsv (103390.8ms)
Completed 200 OK in 104969ms (Views: 103402.9ms)
On Tue, Nov 22, 2011 at 3:19 PM, Colin Law wrote:
> On 22 November 2011 09:29, Rajeev Kannav Sharma
> wrote:
On 22 November 2011 09:29, Rajeev Kannav Sharma
wrote:
>
> Hi i have a Query like this to Download details as CSV and using MongoDb,
> Mongoid
> users.all.each do |user|
> csv << [user.id.to_s,
> user.profile.id,
> user.profile.status,
> user.profile.username,
>
Hi i have a Query like this to Download details as CSV and using MongoDb,
Mongoid
users.all.each do |user|
csv << [user.id.to_s,
user.profile.id,
user.profile.status,
user.profile.username,
render_time(user.created_at),
render_time(user.updated
4 matches
Mail list logo