Arun, Did you add the field for avatar for user model ? you need to do 2 steps.
1.https://github.com/thoughtbot/paperclip#migrations 2. run rake db:migrate Restart server and check again . Cheers Vivek On Wed, Jan 14, 2015 at 5:12 PM, Arun Kumar <arunkumarm1...@gmail.com> wrote: > 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: > https://github.com/arun1595/pinterest > > 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+unsubscr...@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 > <https://groups.google.com/d/msgid/rubyonrails-talk/CAOkoSsen8C_cojqYHENp7%2BXHjxXJp7RVYp3YcCk1XoMHOPfEQg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@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/CAFKVRj9uLswt--LKT-OWKxkyLt%2BxoMVx-E%2BYmq3CHuTAfTbyzw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.