search for: ldapfix

Displaying 1 result from an estimated 1 matches for "ldapfix".

Did you mean: ldap_ip
2006 Apr 06
3
Irreversible Migrations
...a migration irreversable, one has to execute "raise IrreversibleMigration". This is how it''s documented everywhere. However, when I do that, I get this: rake aborted! uninitialized constant IrreversibleMigration This is the migration (the file is called 022_ldap_fix.rb): class LdapFix < ActiveRecord::Migration def self.up execute File.open( __FILE__.gsub(/\.rb$/, ''.pgsql'') ).read end def self.down raise IrreversibleMigration end end I''m using a frozen gem of Rails 1.1. What am I doing wrong?