Re: [Rails] Re: Re: Multiple feature creation.

2012-02-10 Thread Walter Lee Davis
On Feb 10, 2012, at 4:55 PM, Christopher Jones wrote: > Walter Davis wrote in post #1045281: >> On Feb 10, 2012, at 3:57 PM, Christopher Jones wrote: >> >>> >>> contain between 8 to 20 characters" >>> def encrypt_password >>> BCrypt::Engine.hash_secret(password, user.password_salt) >>> class

[Rails] Re: Re: Multiple feature creation.

2012-02-10 Thread Christopher Jones
Walter Davis wrote in post #1045281: > On Feb 10, 2012, at 3:57 PM, Christopher Jones wrote: > >> >> contain between 8 to 20 characters" >>def encrypt_password >> BCrypt::Engine.hash_secret(password, user.password_salt) >> class Wishlist < ActiveRecord::Base >> belongs_to :user >> validates_p

Re: [Rails] Re: Re: Multiple feature creation.

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 10:43 AM, Christopher Jones wrote: > Hi, > > I tried the method that I stated in the model: > > def set_wishlist > @wishlist = Wishlist.new(params[:wishlist]) > end > > But once I created the user it returned an error screen stating: > > NameError in UsersController#create

[Rails] Re: Re: Multiple feature creation.

2012-02-09 Thread Christopher Jones
Hi, I tried the method that I stated in the model: def set_wishlist @wishlist = Wishlist.new(params[:wishlist]) end But once I created the user it returned an error screen stating: NameError in UsersController#create undefined local variable or method `params' for # Rails.root: C:/finalprojec