[Rails] Re: undefined method `model_name' for NilClass:Class in a form_for

2011-05-27 Thread Louis Wrobel
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. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] Re: undefined method `model_name' for NilClass:Class in a form_for

2011-05-27 Thread Michael Pavling
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