Posts by Henrique Fernandez Teixeira • 26 points
2 posts
- 
		0 votes2 answers1180 viewsA: Nameerror (uninitialized Constant Sistusuario::Empresasistusuario):Already tried adding :: before model name? Example: types = ::EmpresaSistUsuario.all :joins => # etc... 
- 
		1 votes2 answers43 viewsA: Has_one association errorhas_one: To be used when your model "has" another model. When we say "has" we mean: Contact Adress - contact_id In that case, all contact (Contact) has an address (Adress): "Contact has_one… ruby-on-railsanswered Henrique Fernandez Teixeira 26