Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has_many Association #1510

Closed
jseb11 opened this issue Jul 13, 2012 · 1 comment
Closed

Has_many Association #1510

jseb11 opened this issue Jul 13, 2012 · 1 comment

Comments

@jseb11
Copy link

jseb11 commented Jul 13, 2012

So I already posted my original question about association on this link http://railsforum.com/viewtopic.php?pid=153916#p153916 but what I would like is to allow active admin To manage the 3 tables

Customer --Client information such first, last, password ...
Activities --Client information related to Activities such Soccer, Bar etc...
Manager --Which grab the id from Customer and Activities id and state when the two where related etc...

But when I go on Manager i get the following error.

Showing /home/jean/.rvm/gems/ruby-1.9.3-p194/gems/activeadmin-0.4.4/app/views/active_admin/resource/index.html.arb where line #1 raised:

uninitialized constant ActivitiesManager::Customers
Extracted source (around line #1):

1: render renderer_for(:index)
Rails.root: /home/jean/rail/wyw

Application Trace | Framework Trace | Full Trace

@jpmckinney
Copy link
Contributor

In some places you call it "Customer" and in others you call it "Client". Are you sure you are being consistent?

Also, please use the mailing list for support requests: groups.google.com/group/activeadmin

Please close this issue if this answers your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants