Blog Archive » February 2007

Rubyonrails get public actions from a controller

February 15, 2007

If you tuned in last week , I was blog'n about getting a list of controllers in a Rubyonrails project. Here's something I wrote to get the list of actions for a specific conroller, I keep it in a helper file: # c = controller # s = selected def get_action_options ( c , s =' ' ) str = ' <option value=""></option> ' fi...

1 Comment

Hating XML is only human

February 6, 2007

While using XML I often find it is too difficult to mentally task-switch between thinking about the meaning of the data and mentally parsing the XML. XML is not to be read by humans and is probably a bad choice for anything but the smallest of tasks, regardless of the parsing benefits.