Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

bhavish's Profile

GitHub User: bhavish

Comments by

Avatar

An1 tried it with simple_form , i suppose that is the error that i am facing

Avatar

Getting missing partials in rails 3.1 and the error points to missing block in

ruby
fields = f.fields_for(association, new_object, :child_index => "new_#{association}") do |builder|
            fields = render(association.to_s.singularize + "_fields", :f => builder)
 end

Any clue as to why this is coming ?

Avatar

Can u post ur code for 3.1 ? i seem to be having some problem with this lines:

ruby
fields = f.fields_for(association, new_object, :child_index => "new_#{association}") do |builder|
  render(association.to_s.singularize + "_fields", :f => builder)
end
Avatar

When i try to install mercury , and run rake mercury_engine:install:migrations

i get the following error

rake aborted!
Don't know how to build task 'railties:install:migrations'

any idea why this happens ?