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
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:
>
>
>
>
>
> &
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
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.
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
5 matches
Mail list logo