Fix sql error in case primary key is not named "id"
Merge pull request #93 from janis-grigaluns/master

Fix ActsAsUrl::add_new_record_url_owner_conditions failing with an sql error