<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>blog@osd.se</title>
	<link>http://blog.osd.se</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 19 Oct 2009 12:20:00 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>How should I work with SQL in Rails?</title>
		<description>I recently started working with Rails again. I haven't gotten very far yet and I'm still re-learning all the stuff I forgot since last time. Today I wrote this piece of code:
user.transactions.sum('ABS(amount)', :joins =&#62;
"INNER JOIN tags_transactions ON transactions.id = tags_transactions.transaction_id " +
"INNER JOIN tags ON tags_transactions.tag_id = tags.id", :group =&#62; ...</description>
		<link>http://blog.osd.se/2009/10/05/how-should-i-work-with-sql-in-rails/</link>
			</item>
	<item>
		<title>Per-user tags with has_many_polymorphs</title>
		<description>I got a question about how I implemented per-user tagging with has_many_polymorphs. He suggested that I wrote a post about it. And why not?

Most posts that I have read about combining users and tagging was about adding the user scope to the tagging, which means that you still have a ...</description>
		<link>http://blog.osd.se/2007/12/04/per-user-tags-with-has_many_polymorphs/</link>
			</item>
	<item>
		<title>Prototype is a prototype?</title>
		<description>In my quest to figure out why Prototype's request method sent all my submit buttons, I stumbled upon this, not so pretty, piece of code:
if (value != null &#38;&#38; (element.type != 'submit' &#124;&#124; (!submitted &#38;&#38;
    submit !== false &#38;&#38; (!submit &#124;&#124; key == submit) &#38;&#38; (submitted = ...</description>
		<link>http://blog.osd.se/2007/08/13/prototype-is-a-prototype/</link>
			</item>
	<item>
		<title>Helium</title>
		<description>Ni vill inte titta på den här, tro mig. Man fastnar. </description>
		<link>http://blog.osd.se/2007/08/12/helium/</link>
			</item>
	<item>
		<title>Ubisofts kvinnosyn</title>
		<description>Ubisoft visar sig vara ett företag man bör undvika. Det är nästan så att man kan tro att det är ett skämt, men det finns en länk till en riktig pressrelease. </description>
		<link>http://blog.osd.se/2007/08/08/ubisofts-kvinnosyn/</link>
			</item>
	<item>
		<title>Mac eller PC?</title>
		<description>Just när jag trodde att jag hade sett alla Mac vs. PC-filmer. Lite ny var den i alla fall, men den är visst redan två månader gammal på Youtube. </description>
		<link>http://blog.osd.se/2007/08/08/mac-eller-pc/</link>
			</item>
	<item>
		<title>Oskar on Rails</title>
		<description>Update : I was going to write a post about the changes I made to acts_as_taggable to get user support, but I just switched to has_many_polymorphs (HMP). I wanted self-referencing tags (being able to tag tags) and HMP provided that with little work. HMP also seems to work directly with ...</description>
		<link>http://blog.osd.se/2007/08/01/oskar-on-rails/</link>
			</item>
	<item>
		<title>Stronger igen</title>
		<description>Nu blir det svenska.

MTV visar just nu videon till Kanye Wests låt Stronger. Jag misstänker att jag kommer att få se den många gånger från till, men det gör inget för det är en mycket bra låt. </description>
		<link>http://blog.osd.se/2007/07/07/stronger-igen/</link>
			</item>
	<item>
		<title>The end?</title>
		<description>I haven't been very active at writing here the last month, as you can see if you look on the date of the previous post. I'm considering switching to writing in Swedish instead. I thought it would be fun to make it accessible for more people by writing in English, ...</description>
		<link>http://blog.osd.se/2007/07/03/the-end/</link>
			</item>
	<item>
		<title>Stronger</title>
		<description>Stronger is one of the tracks on Kanye West's coming album, but people are already going crazy over it since a radio show clip was ripped and spread on the internet. The clip featured a DJ talking over the awesome song, but there seems to be a full version out ...</description>
		<link>http://blog.osd.se/2007/06/07/stronger/</link>
			</item>
</channel>
</rss>
