Ruby on Rails
Wednesday, January 14, 2015
Hello.I have been following one month rails tutorial in which they developed a clone of Pinterest.In the tutorials,pins were created using paperclip gem.I tried to add profile avatars using paperclip gem.So i ran a migration to add an avatar to user table.I wanted the user to upload a picture on signup.I used Devise gem for authentication.So i modifed my views((signup.html.erb) and (edit.html.erb)).
I added parameter sanitizers in my application_controller to modify devise controller settings.But the problem is iam getting an UnknownAtrributeError:Avatar
And in the tutorial jquery-masonry gem was used to make it look a more like pinterest.It worked at first.But now itsn't working.
I have attached the error screenshots and this is the link of my project on github:
Please reply me.I am stuck on this error for a long time.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOkoSsen8C_cojqYHENp7%2BXHjxXJp7RVYp3YcCk1XoMHOPfEQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment