Displaying 2 results from an estimated 2 matches for "initialize_schema_inform".
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
...oad(File.join(plugin_spec_dir, "db", "schema.rb"))
The failing command:
ruby vendor/plugins/rspec/bin/spec
vendor/plugins/audit_fu/spec/audit_fu_spec.rb
-- create_table(:widgets, {:force=>true})
-> 0.0553s
-- create_table(:gears, {:force=>true})
-> 0.0073s
-- initialize_schema_information()
-> 0.0006s
-- columns("schema_info")
-> 0.0005s
./vendor/plugins/audit_fu/spec/audit_fu_spec.rb:3: undefined method `define''
for #<Object:0x1f69f4> (NoMethodError)
from
/Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/behaviou...
2005 Dec 23
1
Better way to import initial migration?
On a rails app that I''m developing I converted a regular old .sql file
into a rails migration. Since I generated the migration in my
development environment, it created the schema_info table for me.
However, when I updated my production environment and tried running
rake migrate it complained that schema_info doesn''t exist. Is there a
rake task for getting around this yet, or