Created
March 4, 2011 06:31
-
-
Save hammerdr/854264 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create | |
@receipt = Receipt.new( | |
... (several params here) | |
:store => Store.find_or_create_by_name(params[:receipt][:store_name]) | |
... (more fucking parameters here)) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment