You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reubenbrown edited this page Jan 14, 2015
·
1 revision
If you're looking to quickly generate some seed data for your application and don't want to upload images already stored in your application you can easily upload remote images by using remote_[your_image_attribute_name]_url
Galaxy.destroy_all
Galaxy.create!(name: 'Andromeda', remote_photo_url: 'http://apod.nasa.gov/apod/image/1407/m31_bers_960.jpg', address: 'next to the Milky Way')