Top "Seed" questions

Seed is a JavaScript interpreter and a library of the GNOME project.

Undo previously seeded data in Rails

I have seeded a row of data to my table by editing db/seed.rb file and executing rake db:…

ruby-on-rails undo seed
Using a method in seeds.rb in Ruby On Rails

I am trying to add a method to my seeds.rb so that I don't have to write a bunch …

ruby-on-rails seed
Using Paperclip within seeds.rb

Let's says I have the following entry in my seeds.rb file : Image.create(:id => 52, :asset_file_name => "…

ruby-on-rails ruby paperclip seed
Prevent Rails test from deleting seed data

I am using seeds.rb to populate some State model reference data: State.create :name => 'Alabama', :abbreviation => 'AL' …

ruby-on-rails ruby testing fixtures seed