Rails application about association with polymorphism