Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dump your model object to fixtures

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.