Tuesday 22 July 2008
I want to write a method that collates the string descriptions of a collection of items, separating them with a HTML link break, and returns the result in a form I can output on a webpage.
In Ruby I can write the whole method with one concise line:
def to_formatted_string
collection.map {|item| ERB::Util.html_escape(item.to_string) ...
Posted in Development | Tagged with asp.net, c#, ruby on rails | No comments »
Tuesday 24 June 2008
We recently decided to store annual leave requests for epiGenesys staff in a Google Calendar. This makes it easy to share the information, and to visualise it against events in our other calendars. I decided this evening that it would also be useful to feed this information directly from the ...
Posted in Development | Tagged with asp.net, google, project mart | No comments »
Monday 23 June 2008
For many of our clients it is important that their website looks up to date at all times. There are various items that can be added to a website to help with this, for example a regularly updated 'latest news' feed on the home page. However, one item that is ...
Posted in Development | Tagged with asp.net, php, ruby on rails | No comments »