Sending iCal files in rails can sometimes be a pain. The trick is to set the mime type for the attachment and all should be fine.
In the example below the "calendar_entry" variable is a reference to the class that is used to build up the iCal. Now you can use something like icalendar which is what l have used as well.
In some apps there might come a time where you will need to generate your own documents on the fly and be able to export them to the user, either to preview, email or to save the document on the device for later use.
The UIKit framework in iOS provides a easy way to create a graphics context which allows you to generate a PDF file or PDF data object. You should then be able to create extra pag... continue
Concerns are a great way to mix in common model behaviours and keep your code clean and not have to resort to STI.
So lets take a look at what a concern looks like. Below l have a Module called "Auditable" which extens ActiveSupport Concern.
The purpose of this is to record statistics on objects as they are created and destroyed. Now this comes in handy when you want to analyse how your custo... continue
We have been working away on a new service launching soon called Doccy. It turns all your old documents into powerful templates that you can then use to build documents in less then a minute.
We support all your favourite formats just as Word (.docx), Pages and Open Office.
Now we are expecting to launch come early jan but in the mean tim... continue
I have never really been one to comment on other peoples work but there are a few things l need to get off my chest relating to development.
Now l am not saying l get it right all the time every time hell no we all make mistakes. But there have been a few obvious ones made with the launch of the new deals site "Click Frenzy". Now l was like everyone else and registered to see what its all ab... continue
We have been throwing around a few ideas and have come up with what we think is a great game concept for the iOS platform. Initially will be available on the iPhone to start and just be a proof of concept to start with.
Seems facebook have realised what alot of us have said for a while that it's best to build apps natively rather then using HTML5. Sure HTML5 has it's advantages mainly that you can reuse alot for other platforms like android, but the main drawback which is a huge one is SPEED. As the saying goes speed kill's.
For more on why facebook are moving check out the full story continue
Our belief here at Sentia is that you should always look back at things you have done in the past and say we can improve on that.
At the moment we are in the process of changing some our processes to better improve them not only for us but for our clients. Development processes is something thats always changing. There was a time when the Waterfall SDLC (Software Development Life Cycle) approa... continue