It has nothing to see with ActiveScaffold, you should go to rails project on github and open an issue
El Miércoles, 28 de mayo de 2014 00:02:29 Lance Zheng escribió: > I has upgrade rails from 4.0 to 4.1. > ruby version: 2.0.0p0 > > Note: raise "missing attribute: total_point" > this is my codes: > class User < ActiveRecord::Base > has_one :user_info > > delegate :total_points, to: :user > end > > class UserInfo < ActiveRecord::Base > belongs_to :user > end > > user = UserInfo.select(:user_id).first.user > > p user.total_points > > ActiveModel::MissingAttributeError: missing attribute: total_points > > the user_info object is > p user.user_info #=> #<UserInfo id: nil, user_id: 26> > > it word fine in 4.0. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
