i have a model called user
class User < ActiveRecord::Base
serialize :friends
end
when running the console script and create a new object of User class
user = User.new
user.friends
i found a 'NoMethodError' should i write the serialize calling in another file? OR what should i do to make the friends array an attribute for the User instance ?