Just a guess, but you might want: @new_trad = Translation.new
No, it’s Translations and I forgot to tell that it’s not an ActiveRecord
model.
Right… so the form_for stuff won’t work then, unless you add all the
methods it needs that a “normal” model would inherit from AR::Base (or
probably won’t work at all - use a form_tag instead…)
Right… so the form_for stuff won’t work then, unless you add all the
methods it needs that a “normal” model would inherit from AR::Base (or
probably won’t work at all - use a form_tag instead…)
Thanks you, i tried with form_tag and it works.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.