Skip to content

Instantly share code, notes, and snippets.

@t0d0r
Created December 29, 2011 12:00
Show Gist options
  • Save t0d0r/1533753 to your computer and use it in GitHub Desktop.
Save t0d0r/1533753 to your computer and use it in GitHub Desktop.
at = s.attributes
at["approxtime"] = Time.now # must have value
["id", "created_at", "updated_at"].each { |e| at.delete(e) }
fm = ForthManeuver.create( at )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment