DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Clone Rails Sqlite3 Database With Images Created By File_column

06.24.2010
| 3692 views |
  • submit to reddit
        // description of your code here

cp db/development.sqlite3 db/production.sqlite3
find . -name 'development' -exec cp -r {} {}/../production \;