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 »
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 »