Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created May 25, 2012 19:08
Show Gist options
  • Save coderforhire/2789947 to your computer and use it in GitHub Desktop.
Save coderforhire/2789947 to your computer and use it in GitHub Desktop.
@digital_product = DigitalProduct.new(params[:digital_product])
merchant.rb
has_many :digital_products
digital_products.rb
belongs_to :merchants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment