Closed emisorb closed 2 years ago
undefined method `username' for #<Usuarie id: 1, telegram_id: "561731399", telegram_username: "emisorb", telegram_data: {"id"=>561731399, "is_bot"=>false, "first_name"=>"Emi", "last_name"=>"Sor", "username"=>"emisorb", "language_code"=>"en", "can_join_groups"=>nil, "can_read_all_group_messages"=>nil, "supports_inline_queries"=>nil}, pronombres: "Él", privados: nil, created_at: "2021-09-21 02:37:07.872862000 +0000", updated_at: "2021-09-21 03:03:22.179380000 +0000"> (NoMethodError)
El error parece deberse a faltar un 'cast' de Usuarie a UsuarieTelegram
El error parece deberse a faltar un 'cast' de Usuarie a UsuarieTelegram