Chris Mear wrote:
> On 8 August 2010 22:01, Abder-Rahman Ali <[email protected]> wrote:
>>
>> Attachments:
>> http://www.ruby-forum.com/attachment/4927/routes.rb
> 
> The problem is exactly what it says: there's no route for 'pages/home'
> in that routes.rb.
> 
> You can add one with:
> 
> match 'pages/home' => 'pages#home'
> 
> or, if you want to match all actions in PagesController under a
> similar URL scheme, you could do something like:
> 
> match 'pages/:action', :controller => 'pages'
> 
> Was there a line already in your routes.rb that you thought would
> match this URL? If so, let us know, as we might be able to point you
> towards a better understanding of the route mapping system.
> 
> Chris

Thanks Chris. 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

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to