Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 136901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:01:18+00:00 2026-05-11T07:01:18+00:00

I find fixtures a bit tedious to use in Ruby on Rails, partly because

  • 0

I find fixtures a bit tedious to use in Ruby on Rails, partly because I need to manually correct them after most migrations.

Is there a way (a plugin?) I can have my fixtures modified when I run my migrations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:01:18+00:00Added an answer on May 11, 2026 at 7:01 am

    Adding to womble’s answer above, you can generate fixtures from your dev database using topfunky’s ar_fixures plugin:

    http://github.com/topfunky/ar_fixtures/tree/master

    In my opinion, there’s still a valid place for a small, well managed set of fixtures in rails – as there is for mock objects… but we’ll leave that for another day!

    Also worth considering the fixture-sets-for-rails plugin, though I haven’t used it myself: http://thatswhatimtalkingabout.org/news/2006/8/31/fixture-sets-for-rails Seems like a reasonable idea, although I’d be very wary of building a mass of confusing sets of fixtures – each of which you may have to fix when your domain model changes. I’d probably stick to mocks instead (this plugin looks quite old and was probably written before a mocha turned up).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I find I quite seldom come across situations where I need to use the
I find it odd that in Visual C# 2008 Express edition, when you use
I'm trying to use fixtures to add more complex test data in order to
I have a YML file containing fixtures for a Rails model (Comment) which looks
When creating an ActiveRecord in rspec, I use fixtures for valid records. But when
I'm trying to find a way to create fixtures for my web2py application. I
I'm attempting to design an achievement system in Ruby on Rails and have run
I must say that i currently use fixtures to populate my database. In an
I find this a bit annoying. I make a 3D plot, initially it come
I find the negation introduction rule which I learned at university a bit confusing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.