Fix not to use ActiveRecord (model) directly from views