Hi! I know that there are other topics about this issue, I read them and
I'm always blocked. Here is the error message:
undefined method `model_name' for NilClass:Class
Extracted source (around line #30):
27:
28: <h2>Add Translation</h2>
29:
30: <%= form_for @new_trad do |f| %>
31: Locale: <%= f.text_field :locale %>
32: Key : <%= f.text_field :key %>
33: Value : <%= f.text_field :value %>
The new method in TranslationsController:
def new
@new_trad = Translations.new
end
Tell me if other informations are needed.
Thanks in advance!
ps: Sorry for my bad english :)
--
Posted via http://www.ruby-forum.com/.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.