Skip to content

Instantly share code, notes, and snippets.

@marcoow
Created October 5, 2009 18:52
Show Gist options
  • Save marcoow/202333 to your computer and use it in GitHub Desktop.
Save marcoow/202333 to your computer and use it in GitHub Desktop.
class ShoppingBasket < ActiveRecord::Base
def initialize(items = [])
self.items = items
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment