Ruby on Rails Friday, April 25, 2014

I don't know the exact set up but it's a float - the sum either needs to add up to 1 or 100 depending on how i set up the recipes.  The only reason I'm doing this is I need a beginner project to work on and this is something i know - and the blog idea keeps bogging down.

After more thought - here's what ideally i think i would like to do.

Create a New Bulk - when ready click a button or link that says 'enter recipe'.

The new recipe page has an add ingredient button that by ajax adds another line to the 'recipe' div on the end - it draws ingredients (via ajax) from the ingredient database, there's an outer div that would sum all the ingredient quantities and not allow the submit button to work until it adds up to the right number.

Does that seem like the way to go about it?

(at this point - all ingredients would be in lbs)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3fe3df14-679b-4008-937c-98d22ab63f32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment