来源:https://stackoverflow.com/questions/12309209/alias-method-on-activerecordbase-results-in-nameerror 标签 ruby-on-rails ruby ruby-on-rails-2