On 27 May 2011 14:23, Louis Wrobel <li...@ruby-forum.com> wrote:
> Michael Pavling wrote in post #1001495:
>
>> 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...)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to