Peter Hickman wrote in post #999006:
It is saying that mongo does not appear to be running or at least it
is not running on the machine that your script is running on or is not
running on port 27017.
Are you running mongo on your machine? It is just the same as running
MySQL or PostgreSQL in
Solrac Caritas wrote in post #945648:
% f.fields_for :author do |author_form|%
with
%= f.fields_for :author do |author_form|%
Thanks you very much
It help me too!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
Thank you
But i have another problem:
How to use render(association.to_s.singularize , :f = builder)
when the partial is
in a diffrent folder ?
in the view there are 3 folders: 'tests', 'questions', 'answers'.
so in '_form' in folder-'question' when there is a call to-
link_to_add_fields(Add
Hi
I created nested models: tests-questions-answers
resources :tests do
resources :questions do
resources :answers
end
end
resources :questions
resources :answers
models:
class Test ActiveRecord::Base
has_many :questions
accepts_nested_attributes_for :questions,
4 matches
Mail list logo