class StocksController < MyplaceonlineController
  protected
    def sorts
      ["stocks.updated_at DESC"]
    end

    def obj_params
      params.require(:stock).permit(
        :num_shares,
        :vest_date,
        :notes,
        company_attributes: Company.param_names,
        password_attributes: PasswordsController.param_names
      )
    end
end

class StocksController < MyplaceonlineController
  def use_bubble?
    true
  end
  
  def bubble_text(obj)
    Myp.display_date_month_year_simple(obj.vest_date, User.current_user)
  end

  protected
    def sorts
      ["stocks.updated_at DESC"]
    end

    def obj_params
      params.require(:stock).permit(
        :num_shares,
        :vest_date,
        :notes,
        company_attributes: Company.param_names,
        password_attributes: PasswordsController.param_names
      )
    end
end

Add bubble text to stocks list
Add bubble text to stocks list
