I know that the correct user is being signed in because certain elements 
such as adding a product etc. get created based on who is signed in and 
therefore associates the id of the product with them so that they get 
displayed under the profile.

The wishlist should be created when I create the user account but at the 
moment it doesn't do that, I have to click on a button to create the 
wishlist but my problem with doing that is that the button can be 
clicked multiple times which I don't want, I just want the user to be 
able to create one wishlist so my options are to either have it create 
on user creation or limit the button to one use per user but that is 
beyond me.

-- 
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