On 8 August 2010 23:39, Abder-Rahman Ali <li...@ruby-forum.com> 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.zip

It 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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to