Skip to content
Dump your model object to fixtures
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.markdown
Rakefile
fixtures.gemspec

README.markdown

BETA

How to use

need add line
require 'fixtures/fixtures'
in your environment.rb

gem 'fixtures'
in you Gemfile

active_record_object.to_hash
will convert object to hash

active_record_object.to_fixtures
will add fixtures to test/fixtures/table_name.yml

Something went wrong with that request. Please try again.