I am trying to use the plugin ar_fixtures that I have just installed
script/plugins install ar_fixtures
I have a model called login
$ ll app/models/l*
-rw-rw-r-- 1 byrnejb byrnejb 125 2007-01-17 16:39 app/models/login.rb
that I added to the development database via a migration and which has
been updated to contain data via a rails application. However, when I
$ script/runner “login.to_fixture”
I get this:
undefined local variable or method
login' for main:Object (NameError) from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:ineval’
gem_original_require' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
The rake version “rake db:fixture:dump MODEL=login” gives essentially
the same result.
ruby 1.8.5 (2006-08-25) [i386-linux]
Any help to get this working would be most appreciated.