Hi Julia,

First, I'll touch on some of the things you may or may not know.

IRB is something you use to test ruby code, specific to the ruby 
interpreter.
script/console or the Rails console is what you use to test rails code, 
specific to rails.

So, it's better to get used to using the console in rails.

Second, it appears you are trying to create your own authentication MVC. 
I wouldn't do that, especially if this is your first rails project.  I 
would use a plugin called Authentication..

http://agilewebdevelopment.com/plugins/restful_authentication

After using that, you can alter the way your authentication system works 
or behaves but you won't have to develop everything from scratch.  It 
also applies RESTful behavior to your controllers which is really what 
you want to try and maintain in rails.  The more restful your 
controllers are, the easier they are to manage.

Let me know if you have any questions on this.  I'd be happy to help.

-- 
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 rubyonrails-talk@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