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
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
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
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
4 matches
Mail list logo