Fixture data in the rails console

How can I load fixture data in the Rails Console for quick testing?

How can I load fixture data in the Rails Console for quick testing?

Hi Craig. Wouldn't "rake db:fixtures:load FIXTURES=rights" give you the same
result (with less typing)?

Best. Mike

probably...I'm i the console anyway deleting the current contents of the table and updating it.

Craig

Sorry gentlemen. I should be more precise in asking my questions. This is very useful information. However, what I meant to ask is how do I populate a class instance from the fixture data in Rails console without going to the database. Is there a more direct way of doing that? Thanks. Bharat