[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-10 Thread Richard Shank
Richard Shank wrote: > tho...@icdesign.com.au wrote: >> Richard, >> I had a go at it the other day and strangely enough it was all working >> fine, I threw my demo up on github so maybe you can check it out to >> help fix your problem: >> >> http://github.com/anathematic/has_one_problem/tree/mast

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-10 Thread Richard Shank
You beat me to the punch! :) -- Posted via http://www.ruby-forum.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

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-10 Thread John Butler
Richard Shank wrote: > tho...@icdesign.com.au wrote: >> Richard, >> I had a go at it the other day and strangely enough it was all working >> fine, I threw my demo up on github so maybe you can check it out to >> help fix your problem: >> >> http://github.com/anathematic/has_one_problem/tree/mast

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-10 Thread Richard Shank
tho...@icdesign.com.au wrote: > Richard, > I had a go at it the other day and strangely enough it was all working > fine, I threw my demo up on github so maybe you can check it out to > help fix your problem: > > http://github.com/anathematic/has_one_problem/tree/master > > Thomas > > > > On

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-09 Thread tho...@icdesign.com.au
Richard, I had a go at it the other day and strangely enough it was all working fine, I threw my demo up on github so maybe you can check it out to help fix your problem: http://github.com/anathematic/has_one_problem/tree/master Thomas On Jun 10, 4:05 pm, Richard Shank wrote: > >> On May 22,

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-09 Thread Richard Shank
>> On May 22, 5:45�am, John Butler > > No i didnt find a solution but ill have to revisit it in the next couple > of days, > > looks like ti should work but ill have to get into the guts of whats > happening to find out, > > JB Any progress on this? I'm in the middle of the same problem.

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-04 Thread John Butler
tho...@icdesign.com.au wrote: > I'm having just the same problem at the moment, was there a solution > posted for this? > > On May 22, 5:45�am, John Butler No i didnt find a solution but ill have to revisit it in the next couple of days, looks like ti should work but ill have to get into the

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-06-04 Thread tho...@icdesign.com.au
I'm having just the same problem at the moment, was there a solution posted for this? On May 22, 5:45 am, John Butler wrote: > >I would try doing the equivalent on the Rails console, so just loading > > a user object, setting 'user_detail_attributes' attribute, then saving > > and see if that wo

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-05-21 Thread John Butler
>I would try doing the equivalent on the Rails console, so just loading > a user object, setting 'user_detail_attributes' attribute, then saving > and see if that works so any view/controller code can be ruled out. > Also I think posting the code in the controller's create action would > be useful

[Rails] Re: accepts_nested_attributes_for has_one issue

2009-05-21 Thread Andrew France
Hi JB, On May 21, 4:24 pm, John Butler wrote: > Im having an issue with accepts_nested_attributes_for for a has_one > relationship.  I have posted the code below and the parameters sent to > the create but this is not saving the user_detail association record. > View code looks fine at a glance