Preheat your oven to 350°F (175°C).
In a large bowl, combine the drained crushed pineapple, cottage cheese, and sugar.
Add the flour, melted butter, vanilla extract, and cinnamon; mix well.
Stir in the shredded cheddar cheese until evenly distributed.
Transfer the mixture into a greased baking dish.
Sprinkle the crushed Ritz crackers evenly over the top.
Bake in the preheated oven for 25-30 minutes, or until the top is golden brown.
Remove from the oven and let it cool for a few minutes.
Slice and serve warm, garnished with fresh herbs if desired.
Enjoy your delicious pineapple casserole with family and friends!