Adding Recurrence Rule to Generated ICS file in Rails

If you need to integrate your Rails app with some calendaring service, such as Google Calendar, sooner or later you will find yourself writing code that outputs your Event object as an ICS file. But if your events have recurrence rules, you are out of luck, the popular Icalendar gem doesn’t support them. I’ll show how to make it work. Continue reading “Adding Recurrence Rule to Generated ICS file in Rails”

Yucatan Less Traveled: Yellow Izamal and Cenotes of Homun

“I can show you a little bit of my Yucatan. Where do you stay?” This was the message I received from Luis Fernando, a young yucateco that replied me on Couchsurfing, where I was looking for locals to meet and befriend. A few days later we were speeding in his car outside of Merida on our way to Izamal, a pre-hispanic city, known today for its yellow buildings. Continue reading “Yucatan Less Traveled: Yellow Izamal and Cenotes of Homun”

White Sands, Mayan Ruins and Underground Rivers: One Day on the Caribbean in Yucatan

White sands and turquoise waters of the Caribbean, ancient Maya city of Tulum, underground rivers, and freshwater caves of Sac Actun. It’s all here, on the Caribbean coast of Yucatan, a result of an astonishing collaboration of circumstances, nature, and pre-hispanic Maya culture. Continue reading “White Sands, Mayan Ruins and Underground Rivers: One Day on the Caribbean in Yucatan”

On The Road in Yucatan: Colonial Valladolid and Mayan Coba

Having made Merida our base in Yucatan, for the first few weeks we limited ourselves to short day trips to Chichen Itza, Uxmal and Kabah. But it was time to venture farther east – where the white sands and turquoise waters of the Caribbean sea are the spectacular setting for an ancient Mayan city of Tulum. So Saturday morning we rented a car and headed to Quintana Roo for a long weekend on the Caribbean. Continue reading “On The Road in Yucatan: Colonial Valladolid and Mayan Coba”

Document your Rails API by Writing Acceptance Specs

So you have been working on a Rails API, and now you need to create a browsable HTML documentation for it. One popular approach is to generate the docs from comments in the code. The problem with this is that comments are often not updated together with the code, and the documentation quickly becomes outdated. Recently I have started using an interesting alternative: Rspec Api Documentation. Continue reading “Document your Rails API by Writing Acceptance Specs”

Uxmal, The Ancient Maya City You Have To See to Believe

As everyone else visiting Yucatan, Chichen Itza was our first encounter with Mayan civilization. Advertising works – if something is recognized as a New World Wonder, you are going to go there first, no matter what. But while Chichen Itza may be the most famous Mayan site, the less-known Uxmal, in my view, is even more breathtaking. Continue reading “Uxmal, The Ancient Maya City You Have To See to Believe”

The Unexpected Side Effects of Traveling Slow

For the first time in my life I don’t have a physical home to return to. All the stuff that I ever owned is either in my suitcase, at my parents house or sold and given away. For 6 months now I don’t pay any monthly bills. I don’t have long-term rental contracts. I don’t receive spam calls – an unexpected benefit of changing the sim card every now and then. Continue reading “The Unexpected Side Effects of Traveling Slow”

Merida, The Colonial Capital in the Land of the Maya

After 2 months in Guadalajara, coming to Mérida was almost like visiting another country. Different people, different food, in some places even signs in a different language. On our way from the airport, the driver was telling me that his father is Maya while his mother is a mestizo. “Did your father speak Maya with you?”, I asked him. “No, my mother wouldn’t let him speak Maya in the house”. Continue reading “Merida, The Colonial Capital in the Land of the Maya”

Guachimontones – World’s Only Circular Pyramids Near Guadalajara

Guachimontones is probably one of the most interesting archeological sites in Jalisco, Mexico. One hour of driving from Guadalajara is all it takes to see the only circular-stepped pyramids in Mesoamerica and the world (update: Cuicuilco in Mexico City could also be considered circular pyramids). Even though there are buses to the site from Guadalajara, we preferred the convenience of Uber (the cost was around $20). Upon arrival we took a guide, and started the climb up the hill. Continue reading “Guachimontones – World’s Only Circular Pyramids Near Guadalajara”