Skip to content

Instantly share code, notes, and snippets.

@hopsoft
Created January 15, 2015 18:31
Show Gist options
  • Select an option

  • Save hopsoft/2452e372572a15f4b1ad to your computer and use it in GitHub Desktop.

Select an option

Save hopsoft/2452e372572a15f4b1ad to your computer and use it in GitHub Desktop.
Easy way to create a Rails fixture stub
require "model_probe"
User.extend ModelProbe
User.fixture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment