Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Location.find( ).system_node.self_and_descendants.map(&:data_key).compact.uniq.select do |dk|
- dk.insert_bucket_values([dk.get_bucket_values('month', Time.zone.parse('5/15/2011'))])
- ap [dk.get_bucket_values('month', Time.zone.parse('5/15/2011'))]
- false
- end
Add Comment
Please, Sign In to add comment