[Rails] Re: reset association cache for polymorphism

2015-09-20 Thread Oto Iashvili
Thanks a lot for answer, Unfortunately, it is an site existing for several years, so I cant change model, so I really need to be able to change "manually" the table_name or to make like a patch forcing to check if table_name has been changed and then update association cache On Sunday, Septem

[Rails] Re: reset association cache for polymorphism

2015-09-20 Thread Matt Jones
On Saturday, 19 September 2015 12:03:47 UTC-4, Oto Iashvili wrote: > > Hi, > > I have a product class with category and a polymorphic attributes > details_info, that depending on category go to one or another table to get > the detail > > > Class Product > category > details_info > > end > > C

[Rails] Re: Help regarding installation of Gems

2015-09-20 Thread Prasanna Moharana
Hello colin as u told me to send some data relavant to your command let me give a Result of command that i tried prasanna@prasanna-HP-Pavilion-dv6-Notebook-PC:~$ gem -v 2.4.8 prasanna@prasanna-HP-Pavilion-dv6-Notebook-PC:~$ which gem /home/prasanna/.rvm/rubies/ruby-2.2.3/bin/gem prasanna@prasan

[Rails] asking for "@localhost's password"

2015-09-20 Thread James Davis, PhD
Looking at the code on github, db/seeds.rb should have created an admin account with the password: 'password1'. It also created several random user accounts with the same 'password1' password. >From the project root directory, can you run 'rails c' and then 'User.first'? >It should return the

[Rails] asking for "@localhost's password"

2015-09-20 Thread Jo Po
Hi there! Not entirely sure if this is the right place to ask this, I'm still pretty new to all this. I've been trying to get this software running: https://github.com/r8/danbooru but I've been running into a bit of a brick wall in the deployment step (see attached image). After trying to d