Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error rendering Edit for Polymorphic belongs_to #42

Closed
acadavid opened this Issue May 15, 2011 · 2 comments

Comments

Projects
None yet
3 participants

I installed the latest version (0.2.1) and i'm getting the following error when trying to render the Edit form of a model that has a polymorphic belongs_to association:

ActionView::Template::Error (uninitialized constant Deal::Creator):
    1: render renderer_for(:edit)

My model looks like this:

class Deal < ActiveRecord::Base
  belongs_to :creator, :polymorphic => true
end

Any idea? Thanks!

eemi commented Jul 12, 2011

I'm having the same issue using 0.2.2.

If there anything I can do (not a coder really), please let me now!

@mattvague mattvague was assigned Aug 18, 2011

Contributor

mattvague commented Aug 18, 2011

Definitely a bug, looking into it.

@mattvague mattvague closed this in 9c130db Aug 19, 2011

@mattvague mattvague was unassigned by acadavid Aug 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment