Chris Mear
2010-Aug-08 22:48 UTC
registerable method undefined in Devise migration (was Re: Re: No route matches)
On 8 August 2010 23:39, Abder-Rahman Ali <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I tried to make the application from scratch again, and > notices that I get the following when I run: $ rake db:migrate > > (in /Users/abder/Desktop/Rails/auth) > == DeviseCreateUsers: migrating > =============================================> -- create_table(:users) > rake aborted! > An error has occurred, this and all later migrations canceled: > > undefined method `registerable'' for > #<ActiveRecord::ConnectionAdapters::TableDefinition:0x1b2c8c4> > > (See full trace by running task with --trace) > > Provided that "user.rb" and the migration files are as shown in the > attachment. > > Thanks. > > > Attachments: > http://www.ruby-forum.com/attachment/4928/Files.zipIt sounds like the ''registerable'' method (which I''m assuming is something to to with Devise -- it''s certainly not a Rails thing) isn''t defined. Perhaps your migration is based on an earlier version of Devise, and they''ve now taken out the registerable method? I would check the Devise docs. Chris -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.