Skip to content

Instantly share code, notes, and snippets.

@achiurizo
Created June 29, 2010 19:07
Show Gist options
  • Save achiurizo/457631 to your computer and use it in GitHub Desktop.
Save achiurizo/457631 to your computer and use it in GitHub Desktop.
@entry = Entry.find_or_create_by(:link => something.url)
@entry.update_attributes(:title => title, :body => content, :site_id => site_ids[url]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment