Ruby on Rails Wednesday, August 1, 2012

On Wed, Aug 1, 2012 at 12:09 AM, John Merlino <stoicism1@aol.com> wrote:

> this will
> raise an error, because project_id does not exist yet, since the
> project has not been saved yet.

Can you create the project first, saving it before you allow the user
to even try to add tasks?

-Dave

--
Dave Aronson, Cleared/Remote Ruby on Rails Freelancer
(NoVa/DC/Remote); see www.DaveAronson.com, and blogs at
www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment