Create a gist now

Instantly share code, notes, and snippets.

Post.find_each { |post| Slug[post.id.to_s] = post.id.to_s }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment