标签: ruby-on-rails
我有以下用户spyke模型。如何将模型更改为user.company.name?
user.company.name
class User < Spyke::Base attributes :name, :email, :phone, :password, :errors end