On Tue, Jan 10, 2012 at 1:12 PM, Colin Law <[email protected]> wrote:
> On 10 January 2012 11:43, Mauro <[email protected]> wrote: > > But now I have a question: > > > > if I do semantic_fields:_for :manager > > without doing @company.managers.build > > I see the manager form. > > Why I see the manager form? > > Do fields_for :manager call the manager controller? > > Look in development/log to see what actions are being called and what > is being rendered. Also have a look at the Rails Guide on debugging. > That will show you how to use ruby-debug to break into your code and > see what is happening. > Actually, to get ruby-debug working on Rails 3.1.x with ruby 1.9.3-p0 I had to play quite some tricks ... http://rails.vandenabeele.com/blog/2011/12/21/installing-ruby-debug19-with-ruby-1-dot-9-3-on-rvm/ Is that normal, or did I overlook something trivial ? Peter -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

