When you load a dump for development, records may reference images that are not available on your machine. Requests to those images may end up on your application, e.g. if...
...for example to confirm your output in tests), you can use roo. To easily dump Rails records to XLSX, there is also axlsx_rails (haven't tried it yet).
Dump this method into your Ruby console to quickly print data in columns. This is helpful for e.g. comparing attributes of a set of Rails records. def tp(objects, *method...
...to disable foreign key constraints before it can wipe the database. Importing a remote dump with geordi Asking Postgres to show the storage path of a database Doing these things...
...public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html capybara-*.html rerun.txt coverage.data coverage/* dump_for_download.dump .~lock.* .*.swp C:\\nppdf32Log\\debuglog.txt
...setup. After basic setup (see geordi help setup), runs tests and loads a staging dump into the database. geordi security-update Guides through our security update process. geordi commit
This gem gives you a rake task db:seed:dump do create a db/seeds.rb from your current database state. The generated db/seeds.rb will look this: Product.create!([ { category_id: 1, description...