Logging now on in production for a while. so that helps.
When the URL is crafted this way it works...(I thought I'd cracked it)
IP/apps.json?date_from=2011-01-28%2013:58:38&date_to=2011-01-28%2013:58:38
log
Parameters: {"date_to"=>"2011-01-28 13:58:38",
"date_from"=>"2011-01-28 13:58:38"}
App Load (0.0ms) SELECT * FROM `apps` WHERE (updated_at >=
'2011-01-28 13:58:38' AND updated_at <= '2011-01-28 13:58:38' AND deal =
true) ORDER BY updated_at DESC, updated_at ASC LIMIT 20
But then I change the time to 11am "1100" it does this....!
IP/apps.json?date_from=2011-01-28%1100:58:38&date_to=2011-01-28%1100:58:38
Processing AppsController#index to json (for 90.211.81.40 at 2011-01-29
07:06:18) [GET]
Parameters: {"date_to"=>"2011-01-28\02100:58:38",
"date_from"=>"2011-01-28\02100:58:38"}
App Load (610.0ms) SELECT * FROM `apps` WHERE (updated_at >=
'2011-01-2800:58:38' AND updated_at <= '2011-01-2800:58:38' AND deal =
true) ORDER BY updated_at DESC, updated_at ASC LIMIT 20
Why? How? What next?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.