In the Views have to tables
---- objetivo_global.rb -----------------------
class ObjetivoGlobal < ActiveRecord::Base
hobo_model # Don't put anything above this
fields do
objetivo_global :text, :required, :unique
indicadores :text, :required
verificacion :text, :required
supuestos :text, :required
timestamps
end
has_many :objetivo_inmediatos
-----objetivo_Inmediato.rb --------------------
class ObjetivoInmediato < ActiveRecord::Base
hobo_model # Don't put anything above this
fields do
objetivo_inmediato :text
indicadores :text
verificacion :text
supuestos :text
objetivo_global_id :integer
timestamps
end
belongs_to :objetivo_global
validates_presence_of :objetivo_global
in view tab [objetivo global] see:
objetivo global 1
objetivo global 2
and tab [objetivo inmediato]
on create or "update objetivo inmediato" link
objetivo global : [Objetivo global 1 ][v]
|Objetivo global 2 ]
i have change to values of any field !!! no name of model
my environment
ubuntu 10.10
rvm 1.6.5
rails 3.0.7
gem 1.6.2
hobo 1.3.0.pre31
Best Regards! Hobo Team!
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.