[Rails] Re: has_one accepts_nested_attributes_for fields_for NOT WORKING HELP

2010-11-28 Thread Humberto Ribeiro
The result is the same... the field do not show in view when browsing to /users/new On 28 nov, 14:51, ssmithstone wrote: > in your > > def new > > try @user.address = Address.new > > On Nov 28, 4:50 pm, Humberto Ribeiro wrote: > > > Model address has 8 attribute

[Rails] Re: has_one accepts_nested_attributes_for fields_for NOT WORKING HELP

2010-11-28 Thread Humberto Ribeiro
Model address has 8 attributes... i did it to minimize user table size. About the problem... just try in your machine you will se it not workin as should do. On 28 nov, 13:41, Walter Lee Davis wrote: > On Nov 28, 2010, at 11:29 AM, Humberto Ribeiro wrote: > > > > > > &

[Rails] Re: invalid date

2010-11-28 Thread Humberto Ribeiro
maybe you in windows right? it was happening with me on windows ... so i loaded an linux virtualbox and all works fine... till now i didnt found any solution to make it works in windows... if you find please tellme -- You received this message because you are subscribed to the Google Groups "Rub

[Rails] has_one accepts_nested_attributes_for fields_for NOT WORKING HELP

2010-11-28 Thread Humberto Ribeiro
MODEL class User < ActiveRecord::Base has_one :address, :dependent => :destroy accepts_nested_attributes_for :address end CONTROL def new @user = User.new @user.build_address # Adicionei ... VIEW partial _form <% f.fields_for :address do |b| %># Adicionei <%= b.

[Rails] rails 3.0.3 in production css js do not load HELP

2010-11-26 Thread Humberto Ribeiro
in rails 3.0.3, when up app in production mode... the css and js cannot be loades... anyone know how to handler it to make it works? in rails 3.0.3 qdo rodo a app em mdo producao... os css e js se tornam inacessiveis, alguem sabe como consigo ajustar isso? -- You received this message because yo